"USAGE:" For commands
#3

You need sscanf to do this or isnull() from ZCMD
anyways i made a quick one for ya
pawn Код:
CMD:me(playerid,params[])
{
    new Message[128];
    if(isnull(params)) return SendClientMessage(playerid,white,"USAGE:/me <text>");
    if(sscanf(params,"s[128",Message)) return SendClientMessage(playerid,white,"USAGE:/me <text>");
    return 1;
}
Reply


Messages In This Thread
"USAGE:" For commands - by Goldino - 26.01.2013, 10:22
Re: "USAGE:" For commands - by IgrexolonO - 26.01.2013, 10:26
Re: "USAGE:" For commands - by CoDeZ - 26.01.2013, 10:28
Re: "USAGE:" For commands - by Jewell - 26.01.2013, 10:39
Re: "USAGE:" For commands - by Mean - 26.01.2013, 10:57

Forum Jump:


Users browsing this thread: 2 Guest(s)