[php]if(sMeansOfDeath != "MOD_GRENADE_SPLASH" && sMeansOfDeath != "MOD_EXPLOSIVE_BULLET" && sMeansOfDeath != "MOD_PROJECTILE_SPLASH" && sMeansOfDeath != "MOD_GRENADE")
iDamage = 0;[/php]
Hello all,
I have a question about bullet damage. I need a little code for this;
That's it. I think it's a very simple code, but I tried a lot and nothing worked!Code:Weapon damage/bullet damage = none (0%) Explosion damage = normal (it would kill you)
Thanks for helping /me
Do you need a signature? I will make it! Send me a PM =)
[php]if(sMeansOfDeath != "MOD_GRENADE_SPLASH" && sMeansOfDeath != "MOD_EXPLOSIVE_BULLET" && sMeansOfDeath != "MOD_PROJECTILE_SPLASH" && sMeansOfDeath != "MOD_GRENADE")
iDamage = 0;[/php]
www.YouTube.com/MpKiller100
Look in the RTD I released perhaps, in the _damage.gsc
You'll find my minimal damage roll, and from there you might understand a bit
/marked as solved