[HELP] how to check
#1

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??
Reply
#2

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
Reply
#3

Or IsPlayerInRangeOfPoint.

PHP код:
IsPlayerInRangeOfPoint(playerid,-2244.038, -281.7203, -2070.217,7.0); 
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)