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

Quote:
Originally Posted by Crayder
View Post
No, this isn't a place where you come and just get someone to code for you. It's a learning zone. xD

But, if you are using streamer streamer areas are definitely the way to go. Go to the link raydx sent to you. The code reference is there.

CreateDynamicRectangle to create your square area, you'll need the min and max X as well as the min/max Y.

Then you simply just use IsPlayerInDynamicArea(playerid, areaid).
Code:
CreateDynamicRectangle(Float:minx, Float:miny, Float:maxx, Float:maxy, worldid = -1, interiorid = -1, playerid = -1)
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: 4 Guest(s)