/kick ?
#2

You're using GetPlayerName before sscanf assigns the id variable, that's why you're getting player id 0 everytime you run the command.

PHP код:
new
    
id,
    
player[MAX_PLAYER_NAME]
;
if (
sscanf(params"u"id)) return SendClientMessage(playerid, -1"INFO:Foloseste /kick [NAME/ID]");
GetPlayerName(idplayersizeof player); 
Reply


Messages In This Thread
/kick ? - by Calinut200 - 15.11.2018, 17:07
Re: /kick ? - by d1git - 15.11.2018, 17:51

Forum Jump:


Users browsing this thread: 1 Guest(s)