hmm getting this error...and entities are not removed
Code:
L 12/04/2010 - 15:56:17: Start of error session.
L 12/04/2010 - 15:56:17: Info (map "bhkz_wicked") (file "addons/amxmodx/logs/error_20101204.log")
L 12/04/2010 - 15:56:17: Invalid trie handle provided (0)
L 12/04/2010 - 15:56:17: [AMXX] Displaying debug trace (plugin "test.amxx")
L 12/04/2010 - 15:56:17: [AMXX] Run time error 10: native error (native "TrieKeyExists")
L 12/04/2010 - 15:56:17: [AMXX] [0] test.sma::fw_Spawn (line 109)
PHP Code:
public fw_Spawn(iEnt)
{
if(!pev_valid(iEnt))
{
return FMRES_IGNORED
}
new ClassName[32]
pev(iEnt, pev_classname, ClassName, 31)
if(TrieKeyExists(g_tRemoveEntities, ClassName))// line 109
{
engfunc(EngFunc_RemoveEntity, iEnt)
return FMRES_SUPERCEDE
}
return FMRES_IGNORED
}
__________________