Help Command [Not Simple One]
#8

pawn Код:
if(strcmp("/help", cmdtext, true) == 0)
    {
        if(!sscanf(params,"s[40]", help))
        {
            if(strcmp(help,"new", true) == 0)
            {

            }
            else if(strcmp(help,"_", true) == 0)
            {

            }      
            // And so on.
        }
        else
        {
            SendClientMessage(playerid, -1,"/help new, _, _, _, _");
        }
        return 1;
    }
Not tested... So if it isn't working then look how to recode it to strcmp!
Reply


Messages In This Thread
Help Command [Not Simple One] - by zohartrejx - 03.02.2013, 13:28
Re: Help Command [Not Simple One] - by Scrillex - 03.02.2013, 13:41
Re: Help Command [Not Simple One] - by zohartrejx - 03.02.2013, 13:42
Re: Help Command [Not Simple One] - by Scrillex - 03.02.2013, 13:45
Re: Help Command [Not Simple One] - by u3ber - 03.02.2013, 13:46
Re: Help Command [Not Simple One] - by zohartrejx - 03.02.2013, 13:46
Re: Help Command [Not Simple One] - by Da_Noob - 03.02.2013, 13:47
Re: Help Command [Not Simple One] - by Scrillex - 03.02.2013, 13:52
Re: Help Command [Not Simple One] - by Da_Noob - 03.02.2013, 14:00
Re: Help Command [Not Simple One] - by zohartrejx - 04.02.2013, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)