Raised This Month: $ Target: $400
 0% 

Hooking event problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
teh ORiON
Member
Join Date: Sep 2011
Location: Denmark
Old 09-22-2011 , 06:22   Re: Hooking event problem
Reply With Quote #7

Ok, for anyone interested, this fixed it for me:

PHP Code:
stock get_loguser_index()
{
    new 
loguser[80], name[32], userid;
    
read_logargv(0logusercharsmax(loguser))
    
parse_loguser(logusername31)
    return 
get_user_index(name);

And then using
PHP Code:
new id get_loguser_index() 
In the appropriate function. Thanks Hunter for heading me in the right direction!
teh ORiON 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 19:31.


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