22.02.2009, 08:23
Here's a little function i whipped up that returns the amount of created pickups.
pawn Код:
public CountStreamPickups()
{
new count = 0;
for(new i = 0; i < MAX_PICKUPS; i++)
{
if(Pickup[i][pickupCreated] == 1)
{
count++;
}
}
return count;
}