Quote:
Originally Posted by FailerZ
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.
}
|
Thank you!!
I did not know how to do something like that.
••••••••••••
Gracias, no sabнa como hacer algo asн.