Raised This Month: $ Target: $400
 0% 

[solved][THX] can someone plz look at code using first time Trie


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 12-04-2010 , 10:00   Re: can someone plz look at code using first time Trie
Reply With Quote #9

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(iEntpev_classnameClassName31)
    
    if(
TrieKeyExists(g_tRemoveEntitiesClassName))// line 109
    
{
        
engfunc(EngFunc_RemoveEntityiEnt)
        return 
FMRES_SUPERCEDE
    
}
    return 
FMRES_IGNORED

__________________
vato loco [GE-S] is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:24.


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