AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Entity Damages Entity (https://forums.alliedmods.net/showthread.php?t=232822)

DavidJr 01-05-2014 10:34

Entity Damages Entity
 
1. How to make entity damages entity? I made NPCs and an RPG, I shoot the RPG to them and how to execute the damage to the NPC? (RPG's rocket hit NPC)

2. Why does NPC can't be damaged by grenade explosive? I tried to check its damage bits using Ham_TraceAttack and print no result.

I use info_target as NPC.

Thank you.

EDIT:
1. Solved with ExecuteHam(Ham_TakeDamage, etc.)


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

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