11.11.2013, 09:54
I have a problem with sscanf, it's working wrong.
Sometimes sscanf returns
However the player is on the server. What's happend? How can I fix that?
Thx before.
Код:
YCMD:spec(playerid, params[], help) { if(sscanf(params, "u", params[0])) return SendClientMessage(playerid, COLOR_WHITE, "TYPE: /spec [id/name]"); if(!IsPlayerConnected(params[0])) return SendClientMessage(playerid, COLOR_GREY, "The player isn't connected!"); etc. }
Код:
SendClientMessage(playerid, COLOR_GREY, "The player isn't connected!");
Thx before.