counting - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: counting (
/showthread.php?tid=503812)
counting -
CroM256 - 31.03.2014
Hi, I am making derby system and I don't know how to read how many players have variable IsAlive[MAX_PLAYERS] on 1
Re: counting -
NEXT0LIFE0RP - 31.03.2014
Try searching on wiki/******s
Re: counting -
PT - 31.03.2014
pawn Код:
GetAlivePlayers()
{
new xcount;
for(new pt = 0; pt < MAX_PLAYERS; pt++)
if(IsAlive[pt])
xcount++;
return xcount;
}