#2

try this and delete the !Isplayerconnected

here is the code
pawn Код:
if(playerid == ID)
    {
        SendClientMessage(playerid,COLOR_ERROR,"You cannot rob yourself, why would you do that anyway?");
        return 1;
    }
this function is to chec if a player is connected
pawn Код:
if(!IsPlayerConnected(ID) == (ID))
        return SendClientMessage(playerid, COLOR_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)