alex Posted November 9, 2025 Report Posted November 9, 2025 ๐ Plugin Information Name: Weapons Menu Version: 1.1 Author: Steams.ro Description: This plugin adds a weapons menu at spawn with temporary save option for Counter-Strike servers. โจ Features ๐ฏ Core Features Automatic spawn menu - Players receive a weapons menu when they spawn 3 weapon loadouts - AK-47, M4A1, or AWP with full equipment Temporary save system - Players can save their weapon choice for the current session Manual menu access - Open the menu anytime with /guns command Free weapons - All weapons are completely free, no money deduction CT defuse kit - Counter-Terrorists automatically receive defuse kit ๐ซ Weapon Loadouts Each loadout includes: Primary weapon (AK-47 / M4A1 / AWP) Secondary weapon (Desert Eagle) Grenades: 1x HE Grenade 2x Flashbang 1x Smoke Grenade Full armor (Kevlar + Helmet) Maximum ammunition for all weapons ๐ฎ How It Works First Spawn Player spawns for the first time Menu appears automatically with 3 weapon options Player selects their preferred loadout A second menu asks: "Save this choice?" Yes โ Weapon will be given automatically at next spawn No โ Menu will appear again at next spawn After Saving Player receives saved weapon automatically at each spawn No menu appears (unless they use /guns) Can change weapon anytime with /guns command Can reset saved weapon from the menu On Disconnect All saved preferences are cleared When reconnecting, player starts fresh (menu appears again) ๐ฌ Commands Command Description Access /guns Opens the weapons menu manually All players say /guns Opens the weapons menu (public chat) All players say_team /guns Opens the weapons menu (team chat) All players ๐ Menu Options Main Menu: [MENU] Choose your weapons โข AK-47 + Deagle & Nades โข M4A1 + Deagle & Nades โข AWP + Deagle & Nades (blank line) โข Reset saved weapon (appears only if weapon is saved) Save Menu: [SAVE WEAPON] Save this choice? Yes - Save this weapon No - Don't save ๐ Automatic Messages The plugin displays an informational message every 30 seconds: Type /guns to open the weapons menu! This reminds players they can access the menu anytime. โ๏ธ Technical Details Requirements AMX Mod X 1.9.0 or higher ReAPI module Counter-Strike 1.6 or CS:GO (with ReGameDLL) Includes Required #include < amxmodx > #include < reapi > Storage Type: Temporary (session-based) Persistence: No database, memory only Duration: Until player disconnects Ammunition Provided Weapon Backup Ammo AK-47 / M4A1 / AWP 90 bullets Desert Eagle 35 bullets HE Grenade 1 grenade Flashbang 2 grenades Smoke Grenade 1 grenade ๐ก๏ธ Security & Validation Player Checks The plugin verifies: โ Player is alive โ Player is not a bot โ Player is not HLTV โ Valid player connection Menu Safety Menu automatically closes after 90 seconds Menu is destroyed after selection No memory leaks ๐จ Customization Change Announcement Interval Modify line in plugin_init(): set_task( 30.0, "ShowInfoMessage", .flags = "b" ); // ^^^^ Change this number (in seconds) Add More Weapons Add new menu items in ShowWeaponsMenu(): menu_additem( menu, "\rโข \wYour Weapon \d+\w Deagle \d&\w Nades\w" ); Then add the case in Weapons_Handler(): case 3: give_weapons( id, "weapon_name", WEAPON_ID ); Modify Loadouts Edit give_weapons() function: rg_give_item( id, "weapon_name", GT_REPLACE ); rg_set_user_bpammo( id, WEAPON_ID, amount ); ๐ Troubleshooting Menu doesn't appear Check if player is alive Verify ReAPI is installed Check if another plugin blocks menus Weapons not given Ensure ReAPI module is loaded Check server logs for errors Verify weapon names are correct Save doesn't work This is normal - save is temporary only Preferences clear on disconnect This is by design, not a bug ๐ Weapon Stats Reference Primary Weapons Weapon Damage Fire Rate Magazine Price (normally) AK-47 High Fast 30 $2500 M4A1 Medium-High Fast 30 $3100 AWP Very High Slow 10 $4750 Note: In this plugin, all weapons are FREE! ๐ Support For issues or suggestions: Author: Steams.ro Version: 1.1 Check server console for error messages Verify all requirements are installed ๐ License & Credits Created by: Steams.ro Plugin Type: Free & Open Source Compatible with: ReAPI-based servers ๐ Changelog Version 1.1 โ Added temporary save system โ Added /guns command โ Added automatic informational messages โ Added reset option in menu โ Removed permanent storage (nVault) โ English translation โ Improved menu design Version 1.0 ๐ Initial release ๐ฏ Basic weapons menu at spawn ๐ซ 3 weapon loadouts ๐ก๏ธ Automatic equipment distribution Last Updated: November 10, 2025 ย weapons_menu.amxx weapons_menu.sma
Recommended Posts