下面是引用 a7811311622 于 2010-11-29 08:20 发表的 :
我说…<celltrie>模块已经被<amxmodx>读取过了…
如果你读取了<amxmodx>却说缺少这模块…
不是你AMXX版本太旧就是你的INC档内容太旧…
compile的时候应该不会读取模块吧??
好像只会读.inc档吧
celltrie.inc内容如下
复制程式
#if defined _celltrie_included
#endinput
#endif
#define _celltrie_included
enum Trie
{
Invalid_Trie = 0
};
native Trie:TrieCreate();
native TrieClear(Trie:handle);
native TrieSetCell(Trie:handle, const key[], any:value);
native TrieSetString(Trie:handle, const key[], const value[]);
native TrieSetArray(Trie:handle, const key[], const any:buffer[], size);
native bool:TrieGetCell(Trie:handle, const key[], &any:value);
native bool:TrieGetString(Trie:handle, const key[], output[], outputsize);
native bool:TrieGetArray(Trie:handle, const key[], any:output[], outputsize);
native bool:TrieDeleteKey(Trie:handle, const key[]);
native bool:TrieKeyExists(Trie:handle, const key[]);
native TrieDestroy(&Trie:handle);