#1

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:
PHP код:
    if(!IsPlayerConnected(ID) == (ID))
        return 
SendClientMessage(playeridCOLOR_ERROR"You cannot rob yourself."); 
Reply


Messages In This Thread
/rob - by Jimmy0wns - 09.11.2013, 15:05
Re: /rob - by DarkLored - 09.11.2013, 15:22
Re: /rob - by PrivatioBoni - 09.11.2013, 15:58

Forum Jump:


Users browsing this thread: 1 Guest(s)