05.02.2014, 14:42
Quote:
As explained above, assign a variable for example
Код:
new Bankrob = 0; CMD:robbank(playerid,params[]) { if(Bankrob = 0) { // do your code when player can rob bank. Bankrob = 1; // THIS IS THE MAIN!!!! } else { SendClientMessage(playerid,-1,"The bank is already being robbed."); } |