Author Topic: [Release] Votemap for admin console (ARSSE)  (Read 3217 times)

0 Members and 1 Guest are viewing this topic.

Offline k

  • Major(1)
  • Posts: 3
[Release] Votemap for admin console (ARSSE)
« on: November 07, 2006, 08:52:30 am »
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 mapname
or with the new feature /votemap mapname playerID
Author: k
Core Version: 2.5.2
Code:

Code: [Select]
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  ;)

Offline LeFTeR

  • Major(1)
  • Posts: 4
Re: [Release] Votemap for admin console (ARSSE)
« Reply #1 on: March 06, 2007, 08:11:08 am »
bravo