Raised This Month: $ Target: $400
 0% 

Detect C4 creation/spawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-23-2008 , 15:43   Detect C4 creation/spawn
Reply With Quote #1

Does someone know how to detect c4 creation (not weapon_c4, planted c4 that has classname "grenade") ?
I don't want to hook FM_SetModel and i don't want to retrieve c4 index when logevent/sound/textmsg is fired.
Ham_Spawn ("grenade") doesn't detect it, FM_CreateNamedEntity is not fired.
FM_CreateEntity is fired but well, entity is not valid yet.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 12-23-2008 at 15:51.
ConnorMcLeod 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 09:06.


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