OnPlayerSave don't work.
#2

It is said on the Wiki that some functions like GetPlayerPos might not return correct results when called under OnPlayerDisconnect, the reason for this is the player is already reported as disconnected, your problem therefore could be in the IsPlayerConnected check.
So, save your data to variables and update them when they should be then just write them when a player disconnects.
Reply


Messages In This Thread
OnPlayerSave don't work. - by alanhutch - 01.01.2015, 15:10
Re: OnPlayerSave don't work. - by Virtual1ty - 01.01.2015, 16:01
Re: OnPlayerSave don't work. - by alanhutch - 01.01.2015, 16:25
Re: OnPlayerSave don't work. - by Virtual1ty - 01.01.2015, 16:44
Re: OnPlayerSave don't work. - by alanhutch - 01.01.2015, 17:10
Re: OnPlayerSave don't work. - by alanhutch - 01.01.2015, 18:13
Re: OnPlayerSave don't work. - by Virtual1ty - 01.01.2015, 18:53
Re: OnPlayerSave don't work. - by alanhutch - 01.01.2015, 19:04
Re: OnPlayerSave don't work. - by alanhutch - 01.01.2015, 19:17
Re: OnPlayerSave don't work. - by Virtual1ty - 01.01.2015, 19:39

Forum Jump:


Users browsing this thread: 3 Guest(s)