MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000532Soldat Dedicated ServerScripting Corepublic2014-02-19 16:262014-08-16 14:05
Reporterkicikici 
Assigned ToExHunter 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx64OSWindowsOS Version7 SP1
Product Version2.7.7b1 
Target VersionFixed in Version 
Summary0000532: SC3 - Variable Game.VotePercent is always set up on 0
DescriptionUse this simple script, and then check value by /vote% cmd

procedure OnSpeak(pl: TActivePlayer; tex: string);
begin
   if tex='!votepercent' then
      Game.VotePercent:=70;
end;

var
   i: byte;
begin
   for i:=1 to 32 do begin
      Players[1].OnSpeak := @OnSpeak;
   end;
end.
TagsNo tags attached.
John
Attached Files

- Relationships

-  Notes
(0002264)
ExHunter (developer)
2014-08-16 14:05

fixed for next version

- Issue History
Date Modified Username Field Change
2014-02-19 16:26 kicikici New Issue
2014-02-19 18:03 ExHunter Assigned To => ExHunter
2014-02-19 18:03 ExHunter Status new => assigned
2014-08-16 14:05 ExHunter Note Added: 0002264
2014-08-16 14:05 ExHunter Status assigned => resolved
2014-08-16 14:05 ExHunter Resolution open => fixed


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker