With the above info, i've tried something like that and have no succes, someone can give a look?
PHP Code:
#include <amxmodx>
#include <okapi>
new const Signa[ ] = { 0x23,0x48,0x69,0x6E,0x74,0x5F,0x70,0x72,0x65,0x73,0x73,0x5F,0x62,0x75,0x79,0x5F }
new const Symbo[ ] = "?BuyTouch@CBuyZone@@QAEXPAVCBaseEntity@@@Z"
public plugin_init( )
{
new Handle
if
(
( Handle = okapi_mod_find_sig( Signa, sizeof Signa ) ) ||
( Handle = okapi_mod_get_symbol_ptr(Symbo) )
)
{
okapi_add_hook( okapi_build_function( Handle, arg_int), "Test", .post = true )
}
}
public Test()
{
client_print( 0, print_chat, "TEEEEEEEEEEST" );
}
__________________