\cstrike\addons\amxmodx\configs\orpheu\functi ons\UTIL_LogPrintf
PHP Code:
{
"name" : "UTIL_LogPrintf",
"library" : "mod",
"info" : "Event is calling,when server is writing something",
"arguments" :
[
{
"type" : "char *"
}
],
"identifiers":
[
{
"os" : "windows",
"mod" : "cstrike",
"value" : [0x8D,0x44,0x24,0x08,0x50,0x51,0x68,"*","*","*","*",0xE8,"*","*","*","*",0x68,"*","*","*","*",0x68,"*","*","*","*",0x6A,0x05,0xFF,0x15,"*","*","*","*",0x83,0xC4,0x18,0xC3]
},
{
"os" : "linux",
"mod" : "cstrike",
"value" : "_Z14UTIL_LogPrintfPcz"
}
]
}
PHP Code:
#include < amxmodx >
#include < orpheu >
public plugin_init( )
{
OrpheuRegisterHook( OrpheuGetFunction( "UTIL_LogPrintf" ), "UTIL_LogPrintf" );
}
public UTIL_LogPrintf( const szMessages[ ] )
{
server_print( "DEBUG: %s", szMessages );
}
Quote:
DEBUG: World triggered "Restart_Round_(%i_%s)"
DEBUG: Team "CT" scored "%i" with "%i" players
DEBUG: Team "TERRORIST" scored "%i" with "%i" players
|
__________________