Author Topic: Arrows  (Read 5284 times)

0 Members and 1 Guest are viewing this topic.

Offline Wannas

  • Major(1)
  • Posts: 14
Re: Arrows
« Reply #20 on: August 19, 2009, 02:20:32 am »
The problem with killing a victim if the damage was dealt by a certain weapon is that grenades thrown by the player with the weapon all become instant weapons of mass destruction. I'm pretty sure that the Arrow glitch leaves the victim on 1 health - maybe do this:
Code: [Select]
function OnPlayerDamage (Victim,Shoooter: byte; Damage: integer): integer;
  begin
    IF (Damage = 149) AND (GetPlayerStat(Shooter,'Primary') = <WEAPON>) THEN Result:= 150;
  end;

Offline croat1gamer

  • Veteran
  • *****
  • Posts: 1327
  • OMG CHANGING AVATAR!!! ^ω^
Re: Arrows
« Reply #21 on: August 19, 2009, 03:08:59 am »
Can you form the sentence a bit better, as i dont really understand what you mean.

The arrow-leaving-1-hp-when-hitting-enemy-in-a-not-rambo-match problem is already spoken of here:
http://forums.soldat.pl/index.php?topic=35448.0
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.

Offline danmer

  • Camper
  • ***
  • Posts: 466
  • crabhead
Re: Arrows
« Reply #22 on: August 19, 2009, 09:41:50 am »
Wannas Wannas Wannas, the HP is not necessarily 150 when the player is hit. Do a health check.