Thread
:
[DoD:S] Bleed
View Single Post
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
07-13-2013 , 03:16 Re: [DoD:S] Bleed
#
7
new attackerID = (GetClientOfUserId(BleedInfo[i][attacker]) != 0) ? GetClientOfUserId(BleedInfo[i][attacker]) : 0;
You can simply do "new attackerID = GetClientOfUserId(BleedInfo[i][attacker]);"
And you're still preventing someone from bleeding from a higher part.
i.e. StartBleed ==> OTHER
then the player receives a critical hit at the chest. In Event_Player_Damaged, the victim will be considered like "already bleeding". This means a player can "prevent" a higher blood-loss from a less higher one.
i.e. Get hit in the leg --> Bleeding 2/sec ; Bleeding --> Get hit in the stomach --> still bleed 2/sec, rather than 3/sec.
Red
__________________
My plugins
:
Red Maze
Afk Bomb
RAWR
(per player/rounds Awp Restrict.)
Kill Assist
Be Medic
You can also
Donate
if you appreciate my work
Last edited by RedSword; 07-13-2013 at
03:17
.
RedSword
View Public Profile
Send a private message to RedSword
Find More Posts by RedSword