PDA

View Full Version : waepon dmg



malyczolg
20th October 2013, 16:11
how check what weapon inflicts damage?

if weapon damage colt_mp
thread script

Tally
20th October 2013, 16:18
Callback_PlayerDamage( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )
{
if( sWeapon == "colt_mp" )
thread script();
}

malyczolg
20th October 2013, 16:30
thanks work