command problem
#1

i have a problem when i enter a command that dont exist this happens


pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/cmds", true) == 0)
    SendClientMessage(playerid, 0xDEEE20FF, "/carmenu to spawn cars");
    SendClientMessage(playerid, 0xDEEE20FF, "this is a place holder for another command :P");
    if(strcmp(cmdtext, "/adminhouse", true) == 0)
    SetPlayerPos(playerid,2559.5488,-1769.4063,480.7705);
    return 1;
}
Reply


Messages In This Thread
command problem - by johnathon956 - 07.04.2010, 19:19
Re: command problem - by aircombat - 07.04.2010, 19:21

Forum Jump:


Users browsing this thread: 2 Guest(s)