Hi, good day! Is there anyone who can help me with how to make a custom effect icon show?
=====================
[status.hpp]
SC_VIPSTATE = 1500,
EFST_VIPSTATE = 1500,
=====================
[status.cpp]
case SC_VIPSTATE:
=====================
[script_constants.hpp]
export_constant(EFST_VIPSTATE);
export_constant(SC_VIPSTATE);
=====================
[core.hpp]
#define VIP_ENABLE
=====================
[status.yml]
- Status: VIPSTATE
Icon: EFST_VIPSTATE
Flags:
NoRemoveOnDead: true
NoDispell: true
=====================
[item_db.yml] (script)
sc_start SC_VIPSTATE, 3600 * 1000, 0;
=====================
[lua files]
[stateiconimginfo.lub]
[EFST_IDs.EFST_VIPSTATE] = "VIPSTATE.tga",
=====================
[stateiconinfo.lub]
StateIconList[EFST_IDs.EFST_VIPSTATE] = {
haveTimeLimit = 1,
posTimeLimitStr = 2,
descript = {
{ "VIP Account", COLOR_TITLE_BUFF },
{ "%s", COLOR_TIME },
{ "Activated VIP" }
}
}
====================
[efstids.lub]
EFST_VIPSTATE = 1500,
====================
grf
[data/texture/effect]
VIPSTATE.tga
====================
I've already recompiled my server, and there are no errors, but the icon still isn't showing.
Please help me