Quote:
Originally Posted by Cell_
So you are resetting the player variables:
pawn Code:
static const empty_player[E_PLAYERS]; Player[playerid] = empty_player;
then setting the player's health to the reset variable under OnPlayerRegister:
pawn Code:
SetPlayerHealth(playerid, Player[playerid][Health]); SetPlayerArmour(playerid, Player[playerid][Armor]);
I hope the empty_player variable has health and armor set to 100.0?
|
Fixed due to your comment, + Rep definitely is headed your way, this was a headache