how a point can be in a 2D zone
#6

If you don't want to use the streamer, you could simply do a check on the player's X and Y:

pawn Code:
new Float:X, Float:Y, Float:Z;
GetPlayerPosition(playerid, X, Y, Z);
if(X >= minx && X <= maxx && Y >= miny && Y <=maxy)
{ // do something
}
Reply


Messages In This Thread
how a point can be in a 2D zone - by Benzi - 08.04.2019, 15:56
Re: how a point can be in a 2D zone - by raydx - 08.04.2019, 16:04
Re: how a point can be in a 2D zone - by Benzi - 08.04.2019, 21:05
Re: how a point can be in a 2D zone - by Crayder - 08.04.2019, 22:49
Re: how a point can be in a 2D zone - by Benzi - 09.04.2019, 11:28
Re: how a point can be in a 2D zone - by CONTROLA - 09.04.2019, 13:55

Forum Jump:


Users browsing this thread: 2 Guest(s)