need help with command
#3

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/da", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, 2075.3584,1312.7797,10.6719);
        SetPlayerInterior(playerid, 0);
    }
    if (strcmp("/teles", cmdtext, true, 10) ==0)
    {
        SendClientMessage(playerid,COLOR,"/da-Desert Airstrip terror");
    }
return 0;
}
That should work.
You wrote SendClientMassage,It's supposed to be SendClientMessage.
I Fixed a lot of other errors you had.
Reply


Messages In This Thread
need help with command - by PANNA - 14.10.2009, 18:53
Re: need help with command - by PANNA - 14.10.2009, 19:18
Re: need help with command - by [XST]O_x - 14.10.2009, 19:23
Re: need help with command - by PANNA - 14.10.2009, 19:52
Re: need help with command - by Correlli - 14.10.2009, 19:53
Re: need help with command - by Ritchie999 - 14.10.2009, 19:55
Re: need help with command - by Correlli - 14.10.2009, 19:59
Re: need help with command - by Ritchie999 - 14.10.2009, 20:29
Re: need help with command - by PANNA - 15.10.2009, 06:27

Forum Jump:


Users browsing this thread: 2 Guest(s)