Posts: 737
Threads: 338
Joined: Jan 2013
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?
Posts: 864
Threads: 57
Joined: Jan 2013
Reputation:
0
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.
Posts: 279
Threads: 11
Joined: Jul 2012
Reputation:
0
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.
Posts: 737
Threads: 338
Joined: Jan 2013