29.07.2016, 16:30
You have never made a new variable called 'giveplayerid' but you are using 'params[0]'.
From
To
From
PHP код:
if(giveplayerid == playerid) return SendClientMessage(playerid, COLOR_GREY, "You can not use this command on yourself!");
PHP код:
if(params[0] == playerid) return SendClientMessage(playerid, COLOR_GREY, "You can not use this command on yourself!");