SA-MP Forums Archive
OnPlayerExitDynamicArea - 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: OnPlayerExitDynamicArea (/showthread.php?tid=514972)



OnPlayerExitDynamicArea - audriuxxx - 24.05.2014

Hi,

This callback will be called when player exit from area, but if player will out from server this call back still will be called?


Re : OnPlayerExitDynamicArea - S4t3K - 24.05.2014

Test yourself.

Put a printf in the callback which tells "Callback called !" in the console, then go in a dynamic area and disconnect, then look if the message is displayed in the console.


Re: OnPlayerExitDynamicArea - ball - 24.05.2014

No, if player is in area and the player will quit this call won't be called - i tested it. You can save the player area in player variable and check in OnPlayerDisconnect if player is in area.


Re: OnPlayerExitDynamicArea - audriuxxx - 24.05.2014

if player die?


Re: OnPlayerExitDynamicArea - iZN - 24.05.2014

Quote:
Originally Posted by audriuxxx
View Post
if player die?
Why don't you simply test by yourself? Why are you even depending on SA-MP Forums that they know exactly about it?