jowi New member Messages 10 Points 0 Mar 1, 2023 #2 I'm trying to clear player variables/timer when they leave the map. I need something like 'OnPCUnloadMapEvent'.
I'm trying to clear player variables/timer when they leave the map. I need something like 'OnPCUnloadMapEvent'.
jasonch New member Messages 14 Points 0 Location Philippines Discord jasonch35 Github jasonch35 Emulator Client Version 20190530 Mar 3, 2023 #3 On top of my head: You can loop the timer with getmapxy in it. Or attach the timer on a hidden npc.
IndieRO New member Messages 287 Points 0 Age 34 Location Indonesia Discord RagnaIDN#7960 Emulator Mar 10, 2023 #4 jowi said: I'm trying to clear player variables/timer when they leave the map. I need something like 'OnPCUnloadMapEvent'. Click to expand... 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
jowi said: I'm trying to clear player variables/timer when they leave the map. I need something like 'OnPCUnloadMapEvent'. Click to expand... 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