PHP Code:
enum _:ItemData
{
ItemName[128],
ItemShort[101],
ItemDesc[512]
}
new Array:ItemArray
plugin_init() {
[...]
ItemArray = ArrayCreate(ItemData)
[...]
}
This is my array handle. :s Tell what you need and I post this :s (if u know what need ...)
Because i have 88 items i not want make all item registration again so i make that:
PHP Code:
for(gCountItems = 0; gCountItems <= 88; gCountItems++)
_diablo_register_item(" ", " ", " ")
This is maybe a reason, that element 0 is empty ? ( is use register_native("diablo_register_item", "_diablo_register_item", 1) )