Please Help ZCMD && sscanf
#2

pawn Код:
CMD:act(playerid, params[]) {
    if(isnull(params)) // check if anything was typed after "/act"
        return SendClientMessage(playerid,COLOR_WHITE,"Usage: /Act");
       
    if(!strcmp(params, "stop", true)) // check if what was typed was "stop"
        return 1;
    return 1;
}
Your command didn't contain much code to go off.
Reply


Messages In This Thread
Please Help ZCMD && sscanf - by motherfucker - 16.06.2011, 19:32
Re: Please Help ZCMD && sscanf - by Calgon - 16.06.2011, 20:00
Re: Please Help ZCMD && sscanf - by motherfucker - 16.06.2011, 21:18

Forum Jump:


Users browsing this thread: 1 Guest(s)