Raised This Month: $ Target: $400
 0% 

[HELP] Menu on new round - works only once


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DavidJr
Senior Member
Join Date: Apr 2012
Old 06-02-2014 , 11:16   Re: [HELP] Menu on new round - works only once
Reply With Quote #7

No, because your variable

PHP Code:
new menu 
isn't array.

You can make it like this I guess:

PHP Code:
for(new id 1id <=iMaxPlayersid++) 
    { 
        new 
menu[iMaxPlayers]
        for(new 
1sizeof Weaponsi++) 
        { 
            
iMenu[id] = menu_create("Free VIP Guns""MenuHandler"
            
formatex(Itemcharsmax(Item), "Get %s + Deagle"Weapons[i][_name]) 
            
menu_additem(menuItem""0
            
menu_display(idmenu[id], 0)
        } 
         
    } 
Yes that's the problem, I tested it in listenserver without anyone, works fine. When I tested it in HLDS with other players, the problem is same as yours.
__________________
What are you looking for here?

Last edited by DavidJr; 06-02-2014 at 11:18.
DavidJr 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 09:40.


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