SA-MP Forums Archive
IsBizInArea / IsHouseInArea / IsPointInArea - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IsBizInArea / IsHouseInArea / IsPointInArea (/showthread.php?tid=656779)



IsBizInArea / IsHouseInArea / IsPointInArea - Akeem - 23.07.2018

hey guys i'm looking for a function like this to determine whether or not a business, house or point is in a gangzone or area.


Re: IsBizInArea / IsHouseInArea / IsPointInArea - d1git - 24.07.2018

https://github.com/samp-incognito/sa...Natives-(Areas)

IsPointInDynamicArea(areaid, Float: x, Float: y, Float: z)
IsPointInAnyDynamicArea(Float: x, Float: y, Float: z)


Re: IsBizInArea / IsHouseInArea / IsPointInArea - Akeem - 24.07.2018

thank you d1git but i modified the IsPlayerInArea function from zones.inc and got it to work.