sscanf help
#4

Avoid returning SendClientMessage, it's ambiguous and confusing.

pawn Код:
cmd:F(playerid, params[])
{
    new result[64];
    if(sscanf(params, "s[64]", result))
    {
        SendClientMessage(playerid, COLOR_WHITE, "Usage: /F [Text]");
        return 1;
    }
   
    //if the params are correct, then... (add code below)
   
    return 1;
}
Reply


Messages In This Thread
sscanf help - by Kraeror - 08.10.2017, 08:45
Re: sscanf help - by n00blek - 08.10.2017, 08:50
Re: sscanf help - by Kraeror - 08.10.2017, 08:55
Re: sscanf help - by Twizted - 08.10.2017, 10:16
Re: sscanf help - by Kraeror - 08.10.2017, 10:46
Re: sscanf help - by whadez - 08.10.2017, 11:04
Re: sscanf help - by Twizted - 08.10.2017, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)