GangZone
#2

PHP код:
new Float:xFloat:yFloat:z;
GetPlayerPos(playeridxyz);
if(
InfoZone[i][gMin_x] && InfoZone[i][gMax_x] && InfoZone[i][gMin_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.

Reply


Messages In This Thread
GangZone - by Mamoru - 23.11.2017, 18:22
Re: GangZone - by FailerZ - 23.11.2017, 18:34
Re: GangZone - by frouzen - 23.11.2017, 18:35
Re: GangZone - by Mamoru - 23.11.2017, 18:49
Re: GangZone - by Mamoru - 23.11.2017, 18:52

Forum Jump:


Users browsing this thread: 2 Guest(s)