Raised This Month: $ Target: $400
 0% 

Solved Help with saving an array with tries


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-17-2017 , 09:19   Help with saving an array with tries
Reply With Quote #1

PHP Code:
#define MAX_ITEMS 100

new g_iLimit[33][MAX_ITEMS]
new 
Trie:g_tLimit

public client_putinserver(id)
    
TrieGetArray(g_tLimitszUserg_iLimit[id], sizeof(g_iLimit[]))
    
public 
client_disconnect(id)
    
TrieSetArray(g_tLimitszUserg_iLimit[id], sizeof(g_iLimit[])) 
This doesn't seem to work. Am I doing something wrong here, or is it not possible to use trie arrays for this? What I'm trying to do is save the limit for each item until the end of the map.
__________________

Last edited by OciXCrom; 03-18-2017 at 10:39.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



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 17:54.


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