Difference between revisions of "StartVoteMap"
(Created page with "===From the Scripting Manual=== ''procedure StartVoteMap(voter: byte; mapname: string);'' '''Parameter Info:''' voter (Byte): Player ID of the player who will appear as ...") |
(Fixed the declaration & description) |
||
Line 1: | Line 1: | ||
===From the Scripting Manual=== | ===From the Scripting Manual=== | ||
− | ''procedure StartVoteMap( | + | ''procedure StartVoteMap(Mapname, Reason: string);'' |
'''Parameter Info:''' | '''Parameter Info:''' | ||
− | + | Mapname (String): Case sensitive name of the map to be voted, excluding the .PMS file extension. | |
− | + | Reason (String): Text that will appear as the reason of the Map Vote. | |
'''Description:''' | '''Description:''' | ||
− | This function will start a map vote for ( | + | This function will start a map vote for (Mapname) and will appear as started by '''Server''' with the (Reason) as a reason. |
==Examples== | ==Examples== | ||
− | <source lang="pascal">StartVoteMap( | + | <source lang="pascal">StartVoteMap('ctf_Kampf', 'Time to spray!'); //Start a map vote for ctf_Kamf</source> |
Latest revision as of 22:03, 7 June 2013
From the Scripting Manual
procedure StartVoteMap(Mapname, Reason: string); Parameter Info: Mapname (String): Case sensitive name of the map to be voted, excluding the .PMS file extension. Reason (String): Text that will appear as the reason of the Map Vote. Description: This function will start a map vote for (Mapname) and will appear as started by Server with the (Reason) as a reason.
Examples
StartVoteMap('ctf_Kampf', 'Time to spray!'); //Start a map vote for ctf_Kamf