PHP Code:
#include <amxmodx>
public pTrie
public plugin_init()
{
pTrie = _:TrieCreate()
TrieSetString(Trie:pTrie, "hello", "goodbye")
}
PHP Code:
#include <amxmodx>
public plugin_init()
{
new pTrie = get_xvar_num(get_xvar_id("pTrie"))
new string[32]
TrieGetString(Trie:pTrie, "hello", string, charsmax(string))
server_print("Result: %s", string)
}
Result:
Quote:
Originally Posted by Backstabnoob
Sorry for not trying it out myself, I'm quite out of the server access now so I can't test it 
|
News Flash: Half-Life Servers are FREE.
__________________