AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Execute LogEvent (https://forums.alliedmods.net/showthread.php?t=89287)

Empowers 04-04-2009 15:42

Execute LogEvent
 
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?

hleV 04-04-2009 16:12

Re: Execute LogEvent
 
The answer is no.

Empowers 04-04-2009 16:48

Re: Execute LogEvent
 
maybe this would execute the hooks?

PHP Code:

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


ot_207 04-04-2009 17:24

Re: Execute LogEvent
 
No, it will not.

The logmessages are build into metamod and called when needed, you can't do that.


All times are GMT -4. The time now is 02:15.

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