PHP Code:
#define MAX_ITEMS 100
new g_iLimit[33][MAX_ITEMS]
new Trie:g_tLimit
public client_putinserver(id)
TrieGetArray(g_tLimit, szUser, g_iLimit[id], sizeof(g_iLimit[]))
public client_disconnect(id)
TrieSetArray(g_tLimit, szUser, g_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.
__________________