Raised This Month: $ Target: $400
 0% 

Detect entity spawned (MonsterMod)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 02-08-2010 , 13:00   Detect entity spawned (MonsterMod)
Reply With Quote #1

Won't work at all, why?

PHP Code:
public plugin_precache()
{
    
RegisterHam(Ham_Spawn"func_wall""fwd_MonsterSpawn");

PHP Code:
public fwd_MonsterSpawn(ent)
{
    
server_print("spawned entity")  
    
client_print0print_chat"spawned")

I just need to detect the monster is spawned, tryied to detect it also in plugin_init, also tryied FM_Spawn, no success
__________________

Last edited by xbatista; 02-08-2010 at 13:05.
xbatista is offline
Send a message via Skype™ to xbatista
 



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 07:22.


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