Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/29/24 in Posts

  1. GalAnime fluxcp theme with galaxy anime concept. this theme is paid not free 50usd or lifetime access all template (chat me on discord : naeunra76) The function of fluxcp can be used. This theme is also responsive when viewed with the mobile version. easy setup a few month every themes will be update feature and etc.
    1 point
  2. This is the fix for icon not going away. and i edited also the timer so it could handle set .@timer, vip_status(2) - gettimetick(2); it will be 86400 for 1 day. So for 5 seconds it should be 5 i believe. // Script.cpp +/* +* fakeIcon +* fakeIcon(CHAR_ID,ICON_ID,TIME,STATE) +*/ +BUILDIN_FUNC(fakeIcon) +{ + int16 icon = EFST_BLANK; + TBL_PC* sd = map_charid2sd(script_getnum(st, 2)); + FETCH(3, icon); + int time = 1000 * abs(script_getnum(st, 4)); + bool state = (script_getnum(st, 5) == 1); + + if (sd == NULL) + return SCRIPT_CMD_FAILURE; + + if (icon <= EFST_BLANK || icon >= EFST_MAX) + icon = EFST_BLANK; + + clif_status_change(&sd->bl, (enum efst_type)icon, state, time, 0, 0, 0); + + return SCRIPT_CMD_SUCCESS; +} BUILDIN_FUNC(addrid) // Script.cpp ++BUILDIN_DEF(fakeIcon,"iiii"), BUILDIN_DEF(goto,"l"),
    1 point
×
×
  • Create New...