Saving/Loading Player's Health
#4

I'm assuming that this is in OnPlayerDisconnect. However GetPlayer(Pos/Health/Ip/...) functions do not work in OnPlayerDisconnect because those functions request information from the client, which is already disconnected at that point so there is nothing to get.

Also .. uhm:
pawn Код:
format(string, sizeof(string), "%.0f",PlayerInfo[playerid][pHealth]);
PlayerInfo[playerid][pHealth] = strval(string);
What the hell is this?
Reply


Messages In This Thread
Saving/Loading Player's Health - by danish007 - 04.02.2015, 13:43
Re: Saving/Loading Player's Health - by ATGOggy - 04.02.2015, 14:15
Re: Saving/Loading Player's Health - by MarcGonzales - 04.02.2015, 14:15
Re: Saving/Loading Player's Health - by Vince - 04.02.2015, 14:19
Re: Saving/Loading Player's Health - by danish007 - 04.02.2015, 15:25
Re: Saving/Loading Player's Health - by ATGOggy - 04.02.2015, 15:31
Re: Saving/Loading Player's Health - by danish007 - 04.02.2015, 15:33
Re: Saving/Loading Player's Health - by danish007 - 04.02.2015, 18:15
Re: Saving/Loading Player's Health - by danish007 - 04.02.2015, 19:12
Re: Saving/Loading Player's Health - by danish007 - 05.02.2015, 11:08

Forum Jump:


Users browsing this thread: 1 Guest(s)