Raised This Month: $ Target: $400
 0% 

Need Code for Gun Menu !!!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
lexzor
Veteran Member
Join Date: Nov 2020
Old 08-11-2022 , 05:52   Re: Need Code for Gun Menu !!!
Reply With Quote #6

change this

PHP Code:
public logevent_round_start()
{
    
g_round++;
    new 
players[32], pnum;
    
get_players(playerspnum"ac");
    for(new 
0iplayerpnumi++)
    {
        
iplayer players[i]
        if (!
is_user_alive(iplayer)) continue;
        
        
give_item(iplayer"weapon_hegrenade");
        
give_item(iplayer"weapon_flashbang");
        
give_item(iplayer"weapon_flashbang");
        
give_item(iplayer"item_assaultsuit");
        
give_item(iplayer"item_thighpack");
        
        if (
g_round>=3)
        {
            
OpenMenu(iplayer);
        }
    }
    
    return 
PLUGIN_HANDLED;

docs: https://wiki.alliedmods.net/Optimizi...e-index_Arrays

Last edited by lexzor; 08-11-2022 at 05:53.
lexzor 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 15:37.


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