23.11.2017, 18:34
PHP код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if(x > InfoZone[i][gMin_x] && x < InfoZone[i][gMax_x] && y > InfoZone[i][gMin_y] && y < InfoZone[i][gMax_y])
{
//Player id is inside the zone. Do something.
}
else
{
//Player id is outside the zone. You could skip the whole else part.
}