SA-MP Forums Archive
OnEnterExitModShop - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnEnterExitModShop (/showthread.php?tid=624082)



OnEnterExitModShop - MerryDeer - 10.12.2016

Hi,

This callback OnEnterExitModShop, when player enter mod shop, is called before or after player interior change?


Re: OnEnterExitModShop - coool - 11.12.2016

Well I don't know when but you can check it by just adding messages on callback and on function:
GetPlayerInterior(playerid, modshopid)
Now if the callback msg is second than then it is called after interior change.
I think you should have understood.


Re: OnEnterExitModShop - Sew_Sumi - 11.12.2016

You could easily write a script that will tell you that via having everything (OnPlayerInteriorChange, OnEnterExitModshop) report back current statuses, and monitor for changes...