05.02.2014, 14:38
As explained above, assign a variable for example
That's just an example, sorry for not explaining enough im on my phone.
Код:
new Bankrob = 0; CMD:robbank(playerid,params[]) // or whatever Command Processor are you using. { 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."); }