09.11.2013, 15:05
So, i was trying to fix a bug, that an user from my server has found.
I tried fixing it, but cant remember how i did it the last time.
What i am trying is to check if the player that used the command is himself.
I tried this:
I tried fixing it, but cant remember how i did it the last time.
What i am trying is to check if the player that used the command is himself.
I tried this:
PHP код:
if(!IsPlayerConnected(ID) == (ID))
return SendClientMessage(playerid, COLOR_ERROR, "You cannot rob yourself.");