Robbery
#4

As explained above, assign a variable for example

Код:
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.");
}
That's just an example, sorry for not explaining enough im on my phone.
Reply


Messages In This Thread
Robbery - by Crazydriver - 05.02.2014, 14:16
Re: Robbery - by Mystique - 05.02.2014, 14:34
Re: Robbery - by Crazydriver - 05.02.2014, 14:38
Re: Robbery - by DaniceMcHarley - 05.02.2014, 14:38
Re: Robbery - by Mystique - 05.02.2014, 14:42
Re: Robbery - by DaniceMcHarley - 05.02.2014, 14:46
Re: Robbery - by Crazydriver - 05.02.2014, 15:03
Re: Robbery - by Mystique - 05.02.2014, 15:06
Re: Robbery - by davve95 - 05.02.2014, 15:08
Re: Robbery - by Mystique - 05.02.2014, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)