AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How can i detect when a bullet touch the c4? (https://forums.alliedmods.net/showthread.php?t=121432)

g_often 03-15-2010 15:34

How can i detect when a bullet touch the c4?
 
How can i detect when a bullet touch the c4?

wrecked_ 03-15-2010 15:35

Re: How can i detect when a bullet touch the c4?
 
Check out the source from the Weapon Physics plugin.

Seta00 03-15-2010 16:41

Re: How can i detect when a bullet touch the c4?
 
Here ya go:
http://forums.alliedmods.net/showthread.php?p=850698

Flipper_SPb 03-15-2010 16:43

Re: How can i detect when a bullet touch the c4?
 
Set for c4 entity pev_takedamage to DAMAGE_YES, and catch the damage with Ham_TakeDamage for example.


All times are GMT -4. The time now is 08:42.

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