This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

How To: Make a perfect NPC


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DSASDFGH
Senior Member
Join Date: Jul 2011
Location: Facebook
Old 11-22-2012 , 03:07   Re: How To: Make a perfect NPC
Reply With Quote #32

Maybe this code will give some functions to NPC Takedamage / Killed

PHP Code:
RegisterHam(Ham_TraceAttack"info_target""fw_TraceAttack"// For making blood
RegisterHam(Ham_TakeDamage"info_target""fw_TakeDamage"// For take damage
RegisterHam(Ham_Killed"info_target""fw_NPCKilled"// For hook npc has killed. 
__________________
Learning SourceMod is happy
DSASDFGH is offline
 



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 23:57.


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