AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   asdasd (https://forums.alliedmods.net/showthread.php?t=253783)

Kellan123 12-28-2014 13:47

asdasd
 
dasdasd

InsanityKARAI 12-28-2014 15:00

Re: [Help] Weapon Selection Menu not working
 
Post Full Code

Kellan123 12-28-2014 15:08

Re: [Help] Weapon Selection Menu not working
 
Quote:

Originally Posted by InsanityKARAI (Post 2241091)
Post Full Code

:nono: newber.

YamiKaitou 12-28-2014 18:12

Re: [Help] Weapon Selection Menu not working
 
Either i is greater than the size of gszWeaponNames or len is greater than the size of szWeaponMenu

Time for you to start debugging it to determine which one is causing it

zmd94 12-28-2014 19:46

Re: [Help] Weapon Selection Menu not working
 
I will do such below:
PHP Code:

MyMenu(id)
{    
    new 
g_Menu[101]
    
    
formatex(g_Menucharsmax(g_Menu), "\yWeapon Selection \r[%s] "PLUGIN_PREFIX)
    new 
g_WW menu_create(g_Menu"menu_handler")
    
    new 
szItem[64]
    for(new 
isizeof(gszWeaponNames); i++)
    {
        
formatex(szItemcharsmax(szItem), "\y%s"gszWeaponNames[i])
        
menu_additem(g_WWszItem)
    }



Kellan123 12-29-2014 09:08

Re: [Help] Weapon Selection Menu not working
 
asdasdasd

YamiKaitou 12-29-2014 09:11

Re: [Help] Weapon Selection Menu not working
 
Quote:

Originally Posted by Kellan123 (Post 2241400)
stop posting this shit I don't like it and I know it.

Why not?

zmd94 12-29-2014 09:26

Re: [Help] Weapon Selection Menu not working
 
Kellan123, I just show you the better method. If you don't want to use it, nothing I can do.

Kellan123 12-30-2014 16:10

Re: [Help] Weapon Selection Menu not working
 
himself fixed.

YamiKaitou 12-30-2014 16:21

Re: [Help] Weapon Selection Menu not working
 
Quote:

Originally Posted by Kellan123 (Post 2242339)
himself fixed.

For the benefit of others who encounter a similar issue, how did you fix it?


All times are GMT -4. The time now is 15:28.

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