Official Soldat Forums
Server Talk => Scripting Discussions and Help => Topic started by: soldat-game on August 05, 2016, 10:47:46 am
-
Plese add:
function OnVoteMapEnd(Player:TActivePlayer; Map:tActiveMap):boolean;
begin
Result:=true; Voting will be canceled and will not change the map.
Result:=false; Map be changed.
end;
-
You can just count OnVoteMap calls with a reasonable timeout.
-
Why not add?
-
It's redundant, you can accomplish what it'd do yourself without sacrificing much. Also I'd add one more thing to take care of in case we decide to switch vote system to something else.