AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   func_vehicle , damagebits (https://forums.alliedmods.net/showthread.php?t=106604)

xbatista 10-17-2009 04:37

func_vehicle , damagebits
 
I want to set damage of func_vehicle to 0.0 in Ham_TakeDamage, so whats the damagebits of it?
DMG_CRUSH?

Arkshine 10-17-2009 04:39

Re: func_vehicle , damagebits
 
Hook TakeDamage and see yourself.

xbatista 10-17-2009 05:06

Re: func_vehicle , damagebits
 
Arkshine is it possible to block damage in Ham_TakeDamage Post?

hleV 10-17-2009 05:12

Re: func_vehicle , damagebits
 
Not sure, but you could try
Code:
set_pev(id, pev_dmg_take, 0.0);

xbatista 10-17-2009 05:25

Re: func_vehicle , damagebits
 
hmm not works

Xellath 10-17-2009 06:26

Re: func_vehicle , damagebits
 
Try returning HAM_SUPERCEDE or try setting damage to 0 using SetHamParamFloat().

xbatista 10-17-2009 06:29

Re: func_vehicle , damagebits
 
In Post it won't work

Arkshine 10-17-2009 06:54

Re: func_vehicle , damagebits
 
Why you register as post, so?

xbatista 10-17-2009 07:06

Re: func_vehicle , damagebits
 
http://forums.alliedmods.net/showpos...0&postcount=25
I want that method but also to block damage done by func_vehicle

xPaw 10-17-2009 07:16

Re: func_vehicle , damagebits
 
Check classname then..


All times are GMT -4. The time now is 22:40.

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