OnPlayerSave don't work.
#3

Quote:
Originally Posted by Virtual1ty
Посмотреть сообщение
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.
I'm using the enums... That's ok?
Can you explain me better the system? (Sorry I'm bad in english...)

EDIT:
I have created a /savechars command, the same thing happens.
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: 1 Guest(s)