/votemap help.
#1

i want to use this command once per round. i added the command /votemap in the callback in which round starts. but it is showing an error.

pawn Код:
(555) : error 017: undefined symbol "cmdtext"

pawn Код:
public StartedNewRound(playerid)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        SpawnPlayer ( i ) ;
        switch ( Map )
        {
            case 0:{
                GameMinutes =5;
                GameSeconds =0;
                if(!strcmp(cmdtext, "/votemap", true))
                {
                ShowPlayerDialog(playerid,GM,DIALOG_STYLE_LIST,"[SvR] Map Voting"," Map 1: \n Map 2: \n Map 3:\n Map 4:\n Map 5:\n Map 6: \n Map 7:","Select","Cancel");
                }
                else return SendClientMessage(playerid, 0x0259EAAA, "you can use this command once per round!");
            }
Reply


Messages In This Thread
/votemap help. - by Champ - 06.08.2012, 15:17
Re: /votemap help. - by Devilxz97 - 06.08.2012, 15:29
Re: /votemap help. - by Ranama - 06.08.2012, 16:37

Forum Jump:


Users browsing this thread: 1 Guest(s)