25+ Armour help.
#1

When a player kills another player I want the player to regain 25+ armour. Is it possible?
I want to use it on ''OnPlayerDeath''

I tried
Код:
SetPlayerArmour(killerid, +25);
Reply
#2

Try this way:

pawn Код:
new Float: Armour;
GetPlayerArmour(killerid, Armour);
SetPlayerArmour(killerid, Armour+25);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)