Merge pull request #7 from ItsStev/damage-feed
moving variable, to ensure objects (above head) will show correctly
This commit is contained in:
commit
8843a3854d
@ -221,10 +221,11 @@ public OnPlayerTakenDamage( playerid, issuerid, Float: amount, weaponid, bodypar
|
|||||||
SetTimerEx( "HideDamageObject", 1000, false, "d", playerid );
|
SetTimerEx( "HideDamageObject", 1000, false, "d", playerid );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// mark player as hit
|
// mark player as hit
|
||||||
p_GotHit{ playerid } = true;
|
p_GotHit{ playerid } = true;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* ** Hitmarker ** */
|
/* ** Hitmarker ** */
|
||||||
DamageFeedAddHitGiven( issuerid, playerid, amount, weaponid );
|
DamageFeedAddHitGiven( issuerid, playerid, amount, weaponid );
|
||||||
|
Loading…
Reference in New Issue
Block a user