Quote:
Originally Posted by MP2
That won't work because you're using local variables.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { new Float:pArmour; GetPlayerArmour(playerid, pArmour); SetPVarFloat(playerid, "pArmour", pArmour); return 1; }
public OnPlayerSpawn(playerid) { new Float:pArmour; GetPVarFloat(playerid, "pArmour", pArmour); SetPlayerArmour(playerid, pArmour); return 1; }
|
Oh ok Thanks for correcting me