# command without "/"
#6

pawn Код:
//OnPlayerText
if(enableCmd[playerid] && IsPlayerInCheckpoint(playerid))
{
    switch(strval(text))
    {
            case 1: // player typed in 1
            case 2: // player typed in 2
            etc.....
    }
}
I believe that should work..
Reply


Messages In This Thread
# command without "/" - by StrickenKid - 30.03.2009, 22:51
Re: # command without "/" - by LarzI - 30.03.2009, 22:58
Re: # command without "/" - by StrickenKid - 30.03.2009, 23:09
Re: # command without "/" - by LarzI - 30.03.2009, 23:16
Re: # command without "/" - by StrickenKid - 30.03.2009, 23:19
Re: # command without "/" - by LarzI - 30.03.2009, 23:23
Re: # command without "/" - by StrickenKid - 30.03.2009, 23:28
Re: # command without "/" - by LarzI - 30.03.2009, 23:29
Re: # command without "/" - by StrickenKid - 30.03.2009, 23:30

Forum Jump:


Users browsing this thread: 1 Guest(s)