06.10.2013, 20:04
To remove their score:
To save their HP:
pawn Код:
SetPlayerScore(playerid, GetPlayerScore(playerid) - 20);
pawn Код:
new Float: HP[2]; // Global or something
// when they use the cmd:
GetPlayerHealth(playerid, HP[0]);
GetPlayerArmour(playerid, HP[1]);
SetPlayerHealth(playerid, 99999999);
// when you want to give their health back
SetPlayerHealth(playerid, HP[0]);
SetPlayerArmour(playerid, HP[1]);