Quote:
Originally Posted by Areax
ZCMD is more easier then strtok...
pawn Код:
CMD:setmytime(playerid, params[]) { new string1[128]; new time; if(sscanf(params, "i", time)) { SendClientMessage(playerid, COLOR_GREY, "Usage: /setmytime [Time(Hour)"); SendClientMessage(playerid, COLOR_PINK, "Function: Will set your Time"); } SetPlayerTime(playerid, time, 0); format(string1, sizeof(string1), "His time has Changed to: %d:00", time); SendClientMessage(playerid, -1, string1); return 1; }
Here is the code!
|
Can i use ZCMD + Strcmp commands in one Fs/Gm ?
which one is faster you said ? zcmd some peoples say YCMD_ is more faster then all and strock commands is slowest one