OnPlayerUpdate And GangZone Problem
#3

Instead of using the OnPlayerUpdate callback for that kind, using dynamic zones would be much better. Then in OnPlayerEnterDynamicArea callback, you can easily check whether the player has key or not for a specific zone/area.

As for the Wait function, I wouldn't recommend it and here's the reason: https://sampforum.blast.hk/showthread.php?tid=257660
You can use a non-repeated timer for teleporting the player once and it'll be fine.
Reply


Messages In This Thread
OnPlayerUpdate And GangZone Problem - by lonalovegood1 - 23.04.2014, 11:10
Re: OnPlayerUpdate And GangZone Problem - by BroZeus - 23.04.2014, 11:14
Re: OnPlayerUpdate And GangZone Problem - by Konstantinos - 23.04.2014, 11:17
Re: OnPlayerUpdate And GangZone Problem - by lonalovegood1 - 23.04.2014, 11:36
Re: OnPlayerUpdate And GangZone Problem - by Konstantinos - 23.04.2014, 11:45

Forum Jump:


Users browsing this thread: 3 Guest(s)