AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Shadows Advance Gun Menu (https://forums.alliedmods.net/showthread.php?t=256006)

shadowdragon 01-23-2015 01:07

Shadows Advance Gun Menu
 
6 Attachment(s)
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 



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

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