View Single Post
Plugin Info:     Modification:          Category:         
imindfreak
Senior Member
Join Date: Oct 2007
Location: 127.0.0.1
Old 01-31-2008 , 21:22   Buy Menu v1.8 Final [UPDATED!]
Reply With Quote #1

Code:
/////////////////////////
//                     //
//       Credits       //
//      iMiNDFREAK     //
//       FXFighter     //
//      crysisclan     //
//    onfirenburin420  //
//                     //
/////////////////////////

===
====================================


This plugin started off with the user name onfirenburin420.
http://forums.alliedmods.net/member.php?u=3710

It was later recoded by crysisclan
http://forums.alliedmods.net/member.php?u=34182

Now it has been recoded again with the help of iMiNDFREAK & FXFighter.
Mind - http://forums.alliedmods.net/member.php?u=31364
FX - http://forums.alliedmods.net/member.php?u=25100

This plugin is just a basic command to open up a list of "powers" you can buy with your CS Money.

Features:
A simple Buy Menu.
A usage message will display for new clients that join the server.

=======================================

Powers:
Silent Walk (No one can hear you walk!)
No clip (Freely roam around through walls like a ghost.)
Chameleon (Your model will be changed to look like the enemy.)
Unlimited Ammo (Unlimited Bullets, Endless Bullets, Keep-Shooting!)
Invisibility (Turn invisible.)
No Flash (You will not be effected by flash bangs.)
No Recoil (Your crosshair will have no recoil.)
Speed (You will move faster then everyone else.)

=======================================

CVAR:
Buy_menu 0/1 (Turns on the buy menu plugin. Default-1)
Buy_showusage 0/1 (Shows the usage in a client chat. Default - 1)
--------------
Replace the $ with the cost of the power you wish to choose.
Buy_silentwalk $ | Default - 1000
Buy_noclip $ | Default - $6000
Buy_chameleon $ |Default - $8000
Buy_unlimitedammo $ | Default - $3500
Buy_invisibility $ | Default - $16000
Buy_noflash $ | Default - $1500
Buy_norecoil $ | Default - $4500
Buy_speed $ | Default - $10000

=======================================

Commands:
say /buy - Displays the buy menu.
say_team /buy - Displays the buy menu.

bind v "say /buymenu" - Simple bind. If you press v, the buymenu appears.
Note: You can replace v to whatever key you wish. This is an example.

=======================================

Installation:
1. Download the buy_menu.amxx file.
2. Go to your configs folder located in cstrike\addons\amxmodx\configs\
3. Find plugins.ini and open it.
4. Go to the last part of it and type, "buy_menu.amxx" without the quotes.
5. If your server is up, you must restart your server or change the map.
for it to take effect.

=======================================

To do:
Add more powers.
Add more cvars.
Fix bugs.

Logs:
2/9/08 09:22 P.M - Final Version Up.
2/3/08 06:28 P.M - Readded silent walk. Bug Fixed.
2/2/08 06:11 P.M - "Silent Walk" is effected to everyone on the server. Power Removed.
2/2/08 058 P.M - Plugin experienced bugs. Fixed.
2/1/08 05:13 P.M - Rewrote whole plugin and much shorter. (fxfighter!)
2/1/08 03:54 P.M - Rewrote speed & showusage plugin. (Special thanks to fxfighter!)
2/1/08 12:52 A.M - Reread the script once more and fixed all errors.
2/1/08 127 A.M - Update the script with the show usage command/cvar.

Current Version:
v1.8

=======================================

Enjoy, this is my second plugin release!


Attached Files
File Type: sma Get Plugin or Get Source (Buy_Menu.sma - 3009 views - 5.0 KB)
__________________
BeastGaming Community - Map Maker & Coder.

Last edited by imindfreak; 04-04-2010 at 14:26.
imindfreak is offline