IsPointInPolygon
#4

Make the polygon with
Код:
CreateDynamicPolygon(Float:points[], Float:minz = -FLOAT_INFINITY, Float:maxz = FLOAT_INFINITY, maxpoints = sizeof points, worldid = -1, interiorid = -1, playerid = -1);
and checked if player is in by
Код:
IsPlayerInDynamicArea(playerid, STREAMER_TAG_AREA areaid, recheck = 0);
https://sampforum.blast.hk/showthread.php?tid=102865
Reply


Messages In This Thread
IsPointInPolygon - by ScIrUsna - 13.04.2016, 07:25
Re: IsPointInPolygon - by Sew_Sumi - 13.04.2016, 07:59
Re: IsPointInPolygon - by ScIrUsna - 13.04.2016, 09:04
Re: IsPointInPolygon - by Sew_Sumi - 13.04.2016, 09:07

Forum Jump:


Users browsing this thread: 1 Guest(s)