Detect Grenade Damage
I've tried several ways and none are efficient enough, can anyone tell me what is the most efficient way to detect grenade damage?
|
Re: Detect Grenade Damage
idk what else DMG_BLAST will catch but only mortars i assume, but again i dont know. but you can catch it like this:
PHP Code:
PHP Code:
|
Re: Detect Grenade Damage
Quote:
This one is-> PHP Code:
PHP Code:
PHP Code:
Quote:
|
Re: Detect Grenade Damage
oh ok sry bout that.. i only tested that on DoD and that is grenade damage
|
Re: Detect Grenade Damage
Quote:
|
Re: Detect Grenade Damage
I only want to catch the damage for an HE grenade. Thank you all for your help so far!
|
Re: Detect Grenade Damage
Why not do this:
Code:
|
Re: Detect Grenade Damage
Ah, thank you Exolent. Now, I'll just set a task after the if statement. Thank you, +karma to you, and the two people above you.
EDIT: Yes, you can do that now. The karma thing. |
Re: Detect Grenade Damage
@Dr. G, DMG_BLAST will detect C4 damage, but not grenade.
Simplest and most efficient way to do it, IMO. PHP Code:
|
Re: Detect Grenade Damage
@Exolent: Checking cs_get_weapon_id() is enough.
|
| All times are GMT -4. The time now is 08:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.