19.03.2011, 10:25
You're setting someone's HP to -20, which is lower than 0, which means you're dead.
Correct usage:
for your /slapall command:
Correct usage:
pawn Код:
new Float:hp;
GetPlayerHealth(pID, hp);
SetPlayerHealth(pID, hp -20);
pawn Код:
new Float:hp;
GetPlayerHealth(i, hp);
SetPlayerHealth(i, hp -20);