Raised This Month: $ Target: $400
 0% 

Execute LogEvent


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-04-2009 , 15:42   Execute LogEvent
Reply With Quote #1

is that possible to execute all hooks on given logevent??

for example like that:
PHP Code:
execute_logevent("3=Target_Bombed"....) 
and maybe this would work:
PHP Code:
message_begin(MSG_ALLget_user_msgid("TextMsg"))
write_byte(4)
write_string("#Target_Bombed")
message_end() 
but I think it will execute message but not logevent..

or maybe it can be made via log_message?
PHP Code:
log_message ( const message[], [ ... ] ) 
Any suggestions?

Last edited by Empowers; 04-04-2009 at 16:06.
Empowers is offline
Send a message via ICQ to Empowers
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 04-04-2009 , 16:12   Re: Execute LogEvent
Reply With Quote #2

The answer is no.
__________________
hleV is offline
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-04-2009 , 16:48   Re: Execute LogEvent
Reply With Quote #3

maybe this would execute the hooks?

PHP Code:
log_message("Team ^"TERRORIST^" triggered ^"Target_Bombed^" (CT ^"0^") (T ^"1^")"

Last edited by Empowers; 04-04-2009 at 17:17.
Empowers is offline
Send a message via ICQ to Empowers
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 04-04-2009 , 17:24   Re: Execute LogEvent
Reply With Quote #4

No, it will not.

The logmessages are build into metamod and called when needed, you can't do that.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 04-04-2009 at 17:28.
ot_207 is offline
Reply


Thread Tools
Display Modes

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 02:15.


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