Raised This Month: $ Target: $400
 0% 

Hooking event problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 09-21-2011 , 20:43   Re: Hooking event problem
Reply With Quote #3

AFAIK logevent doesn't parse "id", it doesn't parse anything actually.
You need to get the log argument with read_logdata() or read_logargv(), then use parse_loguser() on it to get the player name and then use get_user_index() to get the player's entity index which you can use on that function.
__________________

Last edited by Hunter-Digital; 09-21-2011 at 20:45.
Hunter-Digital 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