26.10.2013, 09:16
I just made a simple kick cmd,to check if sscanf is working as i had bugs before,and when i use the command IG,it prints "USAGE:/kick [PLAYER ID]" no matter what i type after /kick.
But also i've just noticed it sends this error in console when i use the command:
Here is the CMD code ,idk if you need to see it:
I think i got latest sscanf .inc and .dll,i got them from here,sa-mp forums.
Thanks in advance.
But also i've just noticed it sends this error in console when i use the command:
Code:
sscanf error: System not initialised.
Code:
CMD:kick(playerid, params[]) { new pID; if(sscanf(params, "u", pID)) return SendClientMessage(playerid, 0xF0FFCF0, "USAGE:/kick [PLAYER ID]"); Kick(pID); return 1; }
Thanks in advance.