Script Name: Votemap for admin console (ARSSE)
Script Description: just like /votemap but only for admin console (ARSSE).
U can start a vote by tiping
/votemap mapnameor with the new feature
/votemap mapname playerIDAuthor: k
Core Version: 2.5.2
Code:
procedure OnAdminMessage(IP, Msg: string);
var
MsgArray:TStringArray;
i :integer;
begin
if Copy(Msg,1,9) = '/votemap ' then
begin
i:=255;
MsgArray:=split(Msg,' ');
if ArrayHigh(MsgArray)=2 then
i:=StrToInt(MsgArray[2]);
StartVoteMap(i,MsgArray[1]);
end
end;
thats all