04.07.2009, 10:45
How do i check if there is 9 people in the checkpoint?
SomeTimer()
{
new count;
for(new i = 0; i < GetMaxPlayers; i++)
{
if(PlayerToPoint(1, i, x, y, z )) //replace x, y, z with teh coords of teh cehckpoint
{
count++;
if(count == 9)
{
return 1;
}
}
}
return 0;
}