Raised This Month: $ Target: $400
 0% 

damage type explain ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
New.ZM.Life
Veteran Member
Join Date: Sep 2014
Location: Iran
Old 09-01-2016 , 14:39   damage type explain ?
Reply With Quote #1

hi alliedmodders again.

i have a small question about fakedamage stock from engine_stocks:

when i use this stock, i wanna know all damage types that i can use:
PHP Code:
fakedamage(idvictim,const szClassname[],Float:takedmgdamage,damagetype
can somebody help me and explain all damage types ?

for example, i wanna set O2 damage type (that write O2 icon on victim client)
__________________
PLUGINS

Zombie Plague 5.0 + New Modes

Added NightCrawler Mode to ZP





New.ZM.Life is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 09-01-2016 , 14:43   Re: damage type explain ?
Reply With Quote #2

You can find DMG_* constants in hlsdk_const.inc.

I think the damage type that displays the O2 icon is drowning, not certain.

Last edited by klippy; 09-01-2016 at 14:43.
klippy is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 09-01-2016 , 15:28   Re: damage type explain ?
Reply With Quote #3

IIRC CS 1.6 uses different icons to refer to each damage type. But it was a decade ago the last time I checked.
__________________
gabuch2 is offline
New.ZM.Life
Veteran Member
Join Date: Sep 2014
Location: Iran
Old 09-01-2016 , 18:43   Re: damage type explain ?
Reply With Quote #4

Quote:
Originally Posted by KliPPy View Post
You can find DMG_* constants in hlsdk_const.inc.

I think the damage type that displays the O2 icon is drowning, not certain.

yes i checked, tnx

O2 icon is DMG_ACID btw
__________________
PLUGINS

Zombie Plague 5.0 + New Modes

Added NightCrawler Mode to ZP





New.ZM.Life is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode