04.02.2015, 14:19
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:
What the hell is this?
Also .. uhm:
pawn Код:
format(string, sizeof(string), "%.0f",PlayerInfo[playerid][pHealth]);
PlayerInfo[playerid][pHealth] = strval(string);
![Huh?](images/smilies/confused.gif)