GangZone
#1

Ive made quite a lot of gangzones right now, but I got a question guys, what kind of function should I use to detect if a player is leaving the gangzone?

Let's suppose I got this gang zone that a player should not leave:

PHP код:
GZ_ZONE1 GangZoneCreate(2036.1328125,1195.3125,2425.78125,1382.8125); 
?

I found out the range of point stuff, but this kinda like not what Im looking for. Maybe you guys could give me a tip.
Reply
#2

Create areas and use callbacks OnPlayerEnterDynamicArea OnPlayerLeaveDynamicArea
Reply
#3

Quote:
Originally Posted by Shinja
Посмотреть сообщение
Create areas and use callbacks OnPlayerEnterDynamicArea OnPlayerLeaveDynamicArea
*cough* forgot to install the streamer *cough*
Reply
#4

Is there any tutorials explaining the usage of those callbacks and creating areas?
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=102865
Read about areas
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)