Raised This Month: $ Target: $400
 0% 

catching player spawn with fakemeta..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 03-29-2009 , 10:22   catching player spawn with fakemeta..
Reply With Quote #1

I need to catch player spawn using fakemeta, so I was trying this:
PHP Code:
public plugin_init()
    
register_forward(FM_Spawn,"fw_PostSpawn",1)

public 
fw_PostSpawn(id)
{
    if(!
is_user_connected(id))
        return;

    
// do stuff

But it's never get called O_o.. why? And maybe there is event or logevent do detect player spawn post?
Empowers is offline
Send a message via ICQ to Empowers
 



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:01.


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