[HELP] how to check - 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: [HELP] how to check (
/showthread.php?tid=566282)
[HELP] how to check -
V4at - 04.03.2015
Hi, I don't know how to check if player is in this zone: GangZoneCreate(-2244.038, -281.7203, -2070.217, -25.29763);
What function should be used??
Re: [HELP] how to check -
CalvinC - 04.03.2015
There's a tutorial how to check if player's is in an area on the wiki, and multiple topics if you searched on ******.
https://sampwiki.blast.hk/wiki/Areacheck
Re: [HELP] how to check -
Detoria - 05.03.2015
Or
IsPlayerInRangeOfPoint.
PHP код:
IsPlayerInRangeOfPoint(playerid,-2244.038, -281.7203, -2070.217,7.0);
Re: [HELP] how to check -
Gammix - 05.03.2015
https://sampforum.blast.hk/showthread.php?tid=556670
Read the callback OnPlayerEnterGangZone.
That can also very easily made with the the help of dynamic areas, thats what my include do.
CreateDynamicRectangle from streamer plugin:
https://sampforum.blast.hk/showthread.php?tid=102865