MantisBT - Soldat Dedicated Server
View Issue Details
0000532Soldat Dedicated ServerScripting Corepublic2014-02-19 16:262014-08-16 14:05
kicikici 
ExHunter 
normalminoralways
resolvedfixed 
x64Windows7 SP1
2.7.7b1 
 
0000532: SC3 - Variable Game.VotePercent is always set up on 0
Use 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.
No tags attached.
Issue History
2014-02-19 16:26kicikiciNew Issue
2014-02-19 18:03ExHunterAssigned To => ExHunter
2014-02-19 18:03ExHunterStatusnew => assigned
2014-08-16 14:05ExHunterNote Added: 0002264
2014-08-16 14:05ExHunterStatusassigned => resolved
2014-08-16 14:05ExHunterResolutionopen => fixed

Notes
(0002264)
ExHunter   
2014-08-16 14:05   
fixed for next version