Samp or scripting bug?
#3

So if you want to show "Server: That command doesn't exist. For list of commands /commands"
Код:
if(!strcmp(cmdtext,"/std",true,4) && !cmdtext[4])
    {
        CancelSelectTextDraw(playerid);
        SelectTextDraw(playerid, COLOR_YELLOW);
        return 1;
    }
    if(!strcmp(cmdtext,"/selecttextdraw",true,15) && !cmdtext[15] )
    {
        CancelSelectTextDraw(playerid);
        SelectTextDraw(playerid, COLOR_YELLOW);
        return 1;
    }
    return SendClientMessage(playerid,COLOR_GREEN2,"Server: That command doesn't exist. For list of commands /commands.");;
I think this might work
Reply


Messages In This Thread
Samp or scripting bug? - by Roko_foko - 25.07.2012, 13:21
Re: Samp or scripting bug? - by DeathOnaStick - 25.07.2012, 13:55
Re: Samp or scripting bug? - by TheDeath - 25.07.2012, 13:57
Re: Samp or scripting bug? - by Roko_foko - 25.07.2012, 13:59
Re: Samp or scripting bug? - by DeathOnaStick - 25.07.2012, 14:05
Re: Samp or scripting bug? - by Roko_foko - 25.07.2012, 14:10
Re: Samp or scripting bug? - by DeathOnaStick - 25.07.2012, 14:14

Forum Jump:


Users browsing this thread: 1 Guest(s)