SA-MP Forums Archive
health 100 - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: health 100 (/showthread.php?tid=149375)



health 100 - shoru93 - 21.05.2010

how to make if i kill someone to get 100 health and 100 armour?


Re: health 100 - [HiC]TheKiller - 21.05.2010

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  if(killedid != INVALID_PLAYER_ID)
  {
    SetPlayerHealth(killerid, 100);
    SetPlayerArmour(killerid, 100);
  }
  return 1;
}
=]