sscanf help.
#2

Sweet baby jesus, don't use 256, please!

pawn Код:
CMD:accept(playerid, params[])
{
    if(isnull(params)) {
        SendClientMessage(playerid,COLOR_GREY,"Usage: /accept [name]");
        return SendClientMessage(playerid,COLOR_GREY,"Names: Job, Faction");
    }
   
    if(strcmp(params, "job", true) == 0)
    {
        //Do the rest of your code
    }
    else return 0; //They typed in something other than "Job"
}
Reply


Messages In This Thread
sscanf help. - by ReneG - 11.02.2012, 02:21
Re: sscanf help. - by 2KY - 11.02.2012, 02:24
Re: sscanf help. - by Sufyan - 11.02.2012, 02:25
Re: sscanf help. - by ReneG - 11.02.2012, 02:30
Re: sscanf help. - by 2KY - 11.02.2012, 02:36
Re: sscanf help. - by Psymetrix - 11.02.2012, 02:57
Re: sscanf help. - by [ABK]Antonio - 11.02.2012, 03:00

Forum Jump:


Users browsing this thread: 2 Guest(s)