下面是引用 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);