Raised This Month: $68 Target: $400
 17% 

Shadows Advance Gun Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author
shadowdragon
Senior Member
Join Date: Dec 2012
Plugin ID:
4500
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 01-23-2015 , 00:07   Shadows Advance Gun Menu
    Reply With Quote #1

    Advance Gun Menu

    This plugin allows you to create a custom gun menu that is best used for zombie like gamemodes. This plugin has only been tested in CSGO but Should also work with CSS.

    Installation:
    Drag and drop everything into your server.

    Commands:!weapons

    Cvars:
    TimeUntillDisabled 20.0 //Time untill the weapon menu gets disabled

    Global Forwards
    PHP Code:
    /**
     * Called after a gun menu item is selected.
     *@param GunName           Gets the gun name
     *@param ClientName        Gets the clients name
     *@param UserIndex           Gets users index
    **/ 
    forward OnGunMenuSelect(const String:GunName[], const String:ClientName[], UserIndex);
    /**
     * Called when gun menu has been disabled.
    **/ 
    forward OnGunMenuDisable(); 
    You will need to add your own weapons in your weapons.ini file located in configs/weapons.
    PHP Code:
    "Weapons"
    {
        
    "weapon_p250"//Weapon string this will be show in the menu
        
    {
            
    "ID"    "0"//ID must always increment by one
        
    }
        
    "weapon_awp"
        
    {
            
    "ID"    "1"
        
    }

    Changelog
    PHP Code:
    v0.1 Initial Release 
    Attached Files
    File Type: smx AWM.smx (13.3 KB, 92 views)
    File Type: sp Get Plugin or Get Source (AWM.sp - 223 views - 4.2 KB)
    File Type: zip ShadowDragons advance weapon menu.zip (582.0 KB, 132 views)
    File Type: smx test_awm.smx (2.9 KB, 125 views)
    File Type: sp Get Plugin or Get Source (test_awm.sp - 203 views - 361 Bytes)
    File Type: inc advancegunmenu.inc (525 Bytes, 232 views)
    __________________
    Sorry for my poor English!
    ________________________________
    I can do CSS/CSGO plugin request for little money!

    Last edited by shadowdragon; 01-23-2015 at 00:09.
    shadowdragon is offline
    Reply


    Thread Tools
    Display Modes

    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 04:22.


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