Raised This Month: $51 Target: $400
 12% 

Native error "TrieKeyExists"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 02-06-2020 , 11:45   Native error "TrieKeyExists"
Reply With Quote #1

Hello.
I have this plugin and it throw an error:
PHP Code:
L 02/06/2020 18:43:06Invalid map handle provided (0)
L 02/06/2020 18:43:06: [AMXXDisplaying debug trace (plugin "aes_informer.amxx"version "0.5 Vega")
L 02/06/2020 18:43:06: [AMXXRun time error 10native error (native "TrieKeyExists")
L 02/06/2020 18:43:06: [AMXX]    [0aes_informer.sma::client_putinserver (line 417
Line 417:
PHP Code:
public client_putinserver(id){
    if((
hudInfoOn || hudaNewOn) && !is_user_bot(id)){
        new 
trackId[36]
        
get_player_trackid(id,trackId,charsmax(trackId))
        
        if(!
TrieKeyExists(g_DisabledInformer,trackId))
            
set_task(hudUpdateInterval,"Show_Hud_Informer",PLAYER_HUD_OFFSET id,.flags="b")
    }

__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-06-2020 , 13:09   Re: Native error "TrieKeyExists"
Reply With Quote #2

Create the trie before trying to use it.
__________________
HamletEagle is offline
Reply



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 10:39.


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