Raised This Month: $ Target: $400
 0% 

error 088: number of arguments does not match definition


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 03-08-2022 , 15:00   error 088: number of arguments does not match definition
Reply With Quote #1

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(redgreenblueHUD_STATS_XHUD_STATS_Y06.01.10.00.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_SHOWHUDpev_health), ID_SHOWHUD"CLASS_CLASS",
        class, 
ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[ID_SHOWHUD], ID_SHOWHUD"ARMOR"pev(ID_SHOWHUDpev_armorvalue), crxranks_get_user_xp(id), crxranks_get_user_next_xp(id), crxranks_get_user_level(id), crxranks_get_max_levels(), ranknameAddCommas(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_SHOWHUDpev_health), ID_SHOWHUD"CLASS_CLASS",
        class, 
ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[ID_SHOWHUD], ID_SHOWHUD"ARMOR"pev(ID_SHOWHUDpev_armorvalue), crxranks_get_user_xp(id), crxranks_get_user_next_xp(id), crxranks_get_user_level(id), crxranks_get_max_levels(), ranknameAddCommas(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_SHOWHUDpev_health), ID_SHOWHUD"CLASS_CLASS",
        class, 
ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[ID_SHOWHUD], ID_SHOWHUD"ARMOR"pev(ID_SHOWHUDpev_armorvalue), crxranks_get_user_xp(id), crxranks_get_user_next_xp(id), crxranks_get_user_level(id), crxranks_get_max_levels(), ranknameAddCommas(g_ammopacks[id])) 
So, would someone explain to me how to fix the error?

Thanks.

Last edited by GlobalPlague; 03-08-2022 at 15:08.
GlobalPlague is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode