max. Random
#10

ok, woah i understand it perfectly. Thanks a lot Maybe you can say whats wroing with this:
It always says, tht more cops must be online.

if(Cops_On < 0)
{
GameTextForPlayer(playerid,"More Cops must be Online.",5000,3);
return 1;
}
new Cops[MAX_PLAYERS];
new Cops_On;
forward GetCops();
public GetCops()
{
Cops_On = 0;
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
if(IsACop(i))
{
Cops[i] = 1;
Cops_On++;
}
else
{
Cops[i] = 0;
}
}
}
}
Reply


Messages In This Thread
max. Random - by Justsmile - 17.05.2009, 20:23
Re: max. Random - by Weirdosport - 17.05.2009, 20:25
Re: max. Random - by Justsmile - 17.05.2009, 20:29
Re: max. Random - by Justsmile - 17.05.2009, 20:35
Re: max. Random - by Weirdosport - 17.05.2009, 20:42
Re: max. Random - by Justsmile - 17.05.2009, 20:49
Re: max. Random - by Weirdosport - 17.05.2009, 20:55
Re: max. Random - by Justsmile - 17.05.2009, 21:00
Re: max. Random - by Weirdosport - 17.05.2009, 21:03
Re: max. Random - by Justsmile - 17.05.2009, 21:08

Forum Jump:


Users browsing this thread: 1 Guest(s)