[HELP] Limited workers in one job
#2

Everything's possible.
Код:
new PeoplesInPD;
Then, the player takes job, put this function:
Код:
PeoplesInPD++;
And, of course check how much is in PD. For example:
Код:
if(PeoplesInPD == 20)
{
SendClientMessage(playerid,0xFF0000FF,"In our Police Department is enough police officers. Sorry.");
return 1;
}
Reply


Messages In This Thread
[HELP] Limited workers in one job - by addinol - 25.02.2010, 15:33
Re: [HELP] Limited workers in one job - by Martin_M - 25.02.2010, 15:43
Re: [HELP] Limited workers in one job - by addinol - 25.02.2010, 16:34
Re: [HELP] Limited workers in one job - by addinol - 25.02.2010, 16:51
Re: [HELP] Limited workers in one job - by Martin_M - 25.02.2010, 16:57
Re: [HELP] Limited workers in one job - by addinol - 25.02.2010, 16:59

Forum Jump:


Users browsing this thread: 2 Guest(s)