How to detect ammount of players in gang zone
#2

Код:
#include <VUF>
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
        new count = 0;
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerInPlace(playerid, Float:X_min, Float:X_max, Float:y_min, Float:y_max, Float:z_max, Float:z_min))
            count++;
	return 1;
}
I dont know if works
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)