AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved error 088 number of arguments does not match definition (https://forums.alliedmods.net/showthread.php?t=325835)

amirwolf 07-08-2020 04:10

error 088 number of arguments does not match definition
 
PHP Code:

public show_method_menu(id)
{
    if(
g_boolFirstTime[id])
    {
        
g_boolFirstTime[id] = false
        show_primary_menu
(id,0)
    }
    else
    {
        
g_iMenuOffset[id] = 0
        show_menu
(id,(1<<0)|(1<<1),"%s\r[BaseBuilder]\y Choose Your Weapon^n^n\y1. \wNew Guns^n\y2. \wLast Guns",-1,"WeaponMethodMenu",szme)
    }


HTML Code:

error 088
 number of arguments does not match definition


thEsp 07-08-2020 04:38

Re: error 088 number of arguments does not match definition
 
Error (179): nobody understands this thread.

amirwolf 07-08-2020 06:06

Re: error 088 number of arguments does not match definition
 
Quote:

Originally Posted by thEsp (Post 2709206)
Error (179): nobody understands this thread.

Yes, you are right

OciXCrom 07-08-2020 07:30

Re: error 088 number of arguments does not match definition
 
Quote:

Originally Posted by amirwolf (Post 2709213)
Yes, you are right

Then go ahead and fix error 179.

https://www.amxmodx.org/api/amxmodx/show_menu

"show_menu" has 5 arguments, you passed 6.

HamletEagle 07-08-2020 08:06

Re: error 088 number of arguments does not match definition
 
Quote:

Originally Posted by OciXCrom (Post 2709227)
Then go ahead and fix error 179.

I laughed too hard at this. Good job!


All times are GMT -4. The time now is 17:00.

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