#1

hi all i need help with this code

SetPlayerHealth(killerid,SetPlayerHealth(killerid) +15);

i want to set every time a player kill another player give + 15 health and + 15 armour how i can make it with out warnings?
Reply
#2

Try this:

pawn Код:
new Float: health;
GetPlayerHealth(killerid, health);
SetPlayerHealth(killerid, health+15);
Reply
#3

pawn Код:
new Float: health,Float:armour;
GetPlayerHealth(killerid,health);
GetPlayerArmour(killerid,armour);
SetPlayerHealth(killerid,health+15);
SetPlayerArmour(killerid,armour+15);
Reply
#4

thx all for help me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)