Posts: 226
Threads: 83
Joined: Mar 2012
Reputation:
0
Well,how to create when a player uses /getbankmoney, and to say, EROR:The bank Isn't Robbing, how to create when the bank is robbing to acces in /getbankmoney, if the bank isn't robbing to say EROR:The bank Isn't Robbing
Posts: 226
Threads: 83
Joined: Mar 2012
Reputation:
0
Like this ?
new NotRobbed[MAX_PLAYERS] = false;
in cmd /hackbank
NotRobbed[playerid] = true;
in cmd /robbank
if(NotRobbed[playerid] = false;
{
SendClientMessage(playerid, -1, "EROR:The bank Isn't Robbind,get out of here...!");
}