Hello
I'm getting some errors at this line:
PHP Code:
public fw_think( ent )
{
if( get_pcvar_num( toggle_plugin ) != 1)
return FMRES_IGNORED;
static classname[ 32 ];
pev( ent, pev_classname, sizeof classname - 1 );
// this line
if( !strcmp( classname, "hostage_entity" ) )
return FMRES_IGNORED;
I tried with equal but the same result.
Errors:
Code:
L 01/03/2009 - 00:38:32: [FAKEMETA] Invalid return type
L 01/03/2009 - 00:38:32: [AMXX] Displaying debug trace (plugin "test.amxx")
L 01/03/2009 - 00:38:32: [AMXX] Run time error 10: native error (native "pev")
L 01/03/2009 - 00:38:32: [AMXX] [0] test.sma::fw_think (line 152)
L 01/03/2009 - 00:38:32: [META] ERROR: Plugin didn't set meta_result: fakemeta_amxx.dll:DispatchThink()
__________________