I don't know what happened, but now i'm getting the following error when i try to compile the main plugin of my ZP server:
C:\mod\cstrike\addons\amxmodx\scripting\zombi e_plague_advance_v1-6-1.sma(11136 -- 11137) : error 088: number of arguments does not match definition
This is the code that is causing the error:
PHP Code:
// Show health, class and ammo packs and armor
set_dhudmessage(red, green, blue, HUD_STATS_X, HUD_STATS_Y, 0, 6.0, 1.1, 0.0, 0.0)
show_dhudmessage(ID_SHOWHUD, "%L: %d || %L %s || %L %d || %L %d^nXP: %d/%d | Level: %d/%d: %s", id, "ZOMBIE_ATTRIB1", pev(ID_SHOWHUD, pev_health), ID_SHOWHUD, "CLASS_CLASS",
class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[ID_SHOWHUD], ID_SHOWHUD, "ARMOR", pev(ID_SHOWHUD, pev_armorvalue), crxranks_get_user_xp(id), crxranks_get_user_next_xp(id), crxranks_get_user_level(id), crxranks_get_max_levels(), rankname, AddCommas(g_ammopacks[id]))show_dhudmessage(ID_SHOWHUD, "%L: %d || %L %s || %L %d || %L %d^nXP: %d/%d | Level: %d/%d: %s", id, "ZOMBIE_ATTRIB1", pev(ID_SHOWHUD, pev_health), ID_SHOWHUD, "CLASS_CLASS",
class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[ID_SHOWHUD], ID_SHOWHUD, "ARMOR", pev(ID_SHOWHUD, pev_armorvalue), crxranks_get_user_xp(id), crxranks_get_user_next_xp(id), crxranks_get_user_level(id), crxranks_get_max_levels(), rankname, AddCommas(g_ammopacks[id]))
This is line 11136-11137:
PHP Code:
show_dhudmessage(ID_SHOWHUD, "%L: %d || %L %s || %L %d || %L %d^nXP: %d/%d | Level: %d/%d: %s", id, "ZOMBIE_ATTRIB1", pev(ID_SHOWHUD, pev_health), ID_SHOWHUD, "CLASS_CLASS",
class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[ID_SHOWHUD], ID_SHOWHUD, "ARMOR", pev(ID_SHOWHUD, pev_armorvalue), crxranks_get_user_xp(id), crxranks_get_user_next_xp(id), crxranks_get_user_level(id), crxranks_get_max_levels(), rankname, AddCommas(g_ammopacks[id]))
So, would someone explain to me how to fix the error?
Thanks.