How to clear player timer when they leave the map?

jowi

New member
Messages
10
Points
0
I'm trying to clear player variables/timer when they leave the map.

I need something like 'OnPCUnloadMapEvent'.

 
On top of my head: You can loop the timer with getmapxy in it. Or attach the timer on a hidden npc. 

 
I'm trying to clear player variables/timer when they leave the map.

I need something like 'OnPCUnloadMapEvent'.
how player leave the map
with npc or usable or by command?

maybe you can give check every certain time if player still on the right map will continue the script
but if not will stop the timer or variable

 
Back
Top