SA-MP Forums Archive
Helt removing - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Helt removing (/showthread.php?tid=477207)



Helt removing - StreetboyBalkan - 22.11.2013

Is there a function which removes only one helt(or random)?


Re: Helt removing - Patrick - 22.11.2013

Made a simple stock for you, sample of use: RemovePlayerHealth(playerid, 10); decrease the player's health by 10

pawn Код:
stock RemovePlayerHealth(playerid, value) {
  new Float:Health; GetPlayerHealth(playerid, Health); SetPlayerHealth(playerid, Health-value);
}



Re: Helt removing - RenSoprano - 22.11.2013

Can you explain more I can't understand you?


Re: Helt removing - StreetboyBalkan - 22.11.2013

pds2k12 thank you.This is what i want.