17.11.2013, 17:24
You cannot use a string inside an array variable.
Use id instead reciever.
I also noticed another Bug. In fact you're trying to read the targetname, before checking sscanf.
Should stay below sscanf.
This is right
Use id instead reciever.
I also noticed another Bug. In fact you're trying to read the targetname, before checking sscanf.
pawn Код:
GetPlayerName(id,recievername,sizeof(recievername));
This is right
pawn Код:
if(sscanf(params, "u", id)) return SendClientMessage(playerid, COLOR_RED,"[USAGE] - /stats [ID]");
GetPlayerName(id,recievername,sizeof(recievername));