This plugin adds a Shop menu in the game, which can be accessed by using the chat command "/shop". It has got various cvars with which you can control almost every available option. You can also enable a Points System, which will make the players use special points instead of regular money. The shop containts the following items (by default):
<a> +50 Health [1000$/100 Pts.] -- Gives you +50 health points <b> +100 Armor [1000$/100 Pts.] -- Gives you +100 armor points <c> Unlimited Clip [3000$/300 Pts.] -- Makes your current weapon have unlimited bullets (without reloading). This item can only be activated on a weapon that actually uses bullets, reloading will remove the unlimited clip <d> Unlimited Ammo [200$/20 Pts.] -- Adds unlimited backpack ammo to your current weapon <e> All Grenades [800$/80 Pts.] -- Gives you HE Grenade, 2x Flashbang and a Smoke Grenade <f> Bomber [1600$/160 Pts.] -- Gives you 20 HE Grenades <g> Silent Footsteps [3000$/300 Pts.] -- You won't make noise when running <h> Faster Speed [4300$/430 Pts.] -- Makes you run faster <i> Low Gravity [2800$/280 Pts.] -- Allows you to jump higher <j> Chameleon [9000$/900 Pts.] -- Use this item to fool your enemies by disguising as them <k> Drugs (Speed + Health) [8000$/800 Pts.] -- Distorts your screen, makes you run faster and gives you additional health. The distortion is lost when zooming in <l> Transparency [2500$/250 Pts.] -- Makes you transparent <m> Invisibility (15 Seconds) [16000$/1600 Pts.] -- Buying this will make you fully invisible for 15 seconds <n> Double Damage [10000$/1000 Pts.] -- Doubles the damage you make on an enemy player <o> GodMode (5 Seconds) [16000$/1600 Pts.] -- Become immortal for 5 seconds <p> Health Regeneration [1800$/180 Pts.] -- Regenerates 1 health point each half of a second <q> Armor Regeneration [2000$/200 Pts.] -- Regenerates 10 armor points each half of a second <r> No Recoil [12000$/1200 Pts.] -- Removes weapon recoil <s> AWP [4750$/475 Pts.] -- Gives you an AWP <t> Golden AK [16000$/1600 Pts.] -- Get an Golden AK-47
Commands:
say /shop -- Opens up the Shop Menu
say /points -- Shows the player his current points status
amx_points nick|#userid|@team -- An admin command to give or take points, you can use "0" to take all points from the player
Every single item can be disabled and modified by using various cvars.
To disable any item, you can use the cvar "customshop_disableditems", add the item's letter in the cvar string to disable it.
Use these cvars to control the main options of the Shop:
* customshop_disableditems <any available item letter (case sensitive)> -- Leave it empty if you want all items to be enabled
* customshop_viponly <default: 0> -- Set to "1" if you want the Shop to be available only for players with a certain flag
* customshop_flag_access <default: b> -- The flag which is used when "customshop_viponly" is set to "1"
* customshop_infomessage_enabled <default: 1> -- Enable/Disable information message showing in chat
* customshop_infomessage_time <default: 90.0> -- Controls the time needed (in seconds) for the information message to display in chat
* customshop_buyequip <default: 1> -- Use "0" if you don't want the shop to be accessed by using the "buyequip" command (or button "o" by default)
* customshop_currency_symbol <default: $ / Pts.> -- Set the currency symbol that is shown in the shop menu
* customshop_teamonly <default: 0> -- Use this to make the shop available only for a certain team (0 = None; 1 = T; 2 = CT; 3 = Spectator)
Cvars for the Points System:
* customshop_points <default: 0> -- Set to "1" if you want to use special points, instead of money
* customshop_savepoints <default: 1> -- Controls whether the plugin will save players\ points on disconnect * customshop_vipbonus <default: 0> -- Set to "1" if you want VIP users to get more points with every kill
* customshop_flag_bonus <default: b> -- The flag which is used when "customshop_vipbonus" is set to "1"
* customshop_teamkillpoints <default: 0> -- If you want players to get points when killing a teammate
* customshop_killmessage <default: 1> -- Use "0" to disable the kill messages in chat
* customshop_reward_normal <default: 15> -- Controls how many points you get for a normal kill
* customshop_reward_headshot <default: 30> -- Controls how many points you get for a headshot
* customshop_reward_knife <default: 50> -- Controls how many points you get for a knife kill
* customshop_reward_bonus <default: 10> -- Controls how many bonus points VIP users get if "customshop_vipbonus" is set to "1"
* customshop_hud <default: 1> -- Use "1" to show the player's points on his HUD
* customshop_hud_red <default: 255> -- HUD: red color amount
* customshop_hud_green <default: 255> -- HUD: green color amount
* customshop_hud_red <default: 0> -- HUD: red color amount
* customshop_hud_x <default: 0.01> -- HUD: X coordinates
* customshop_hud_y <default: 0.93> -- HUD: Y coordinates
You can change any item's price by using the following cvars:
<a> customshop_health_ammount <default: 50> -- Controls the health points you get when buying item "a" <b> customshop_armor_ammount <default: 100> -- Controls the armor points you get when buying item "b" <f> customshop_bomber_ammount <default: 20> -- Controls how many HE Grenades you get when buying item "f" <h> customshop_fasterspeed_ammount <default: 300.0> -- Controls the speed boost you get when buying item "h" <i> customshop_lowgravity_ammount <default: 0.5> -- Controls the gravity you get when buying item "i". Be aware that the lower the gravity is, the higher you jump <k> customshop_drugs_speedammount <default: 300.0> -- Controls the speed boost you get when buying item "k" <k> customshop_drugs_healthammount <default: 200> -- Controls the health points you get when buying item "k" <l> customshop_transparency_ammount <default: 75> -- Controls the transparency ammount when buying item "l". Use a number from 0 to 255, the lower the number, the more transparency you get <m> customshop_invisibility_time <default: 15.0> -- Controls how many seconds you're invisible when buying item "m" <o> customshop_godmode_time <default: 5.0> -- Controls how many seconds you're immortal when buying item "o" <p> customshop_healthregen_ammount <default: 1> -- Controls how many health points you get every second when buying item "p" <p> customshop_healthregen_time <default: 0.5> -- Controls the speed of regeneration when buying item "p" <p> customshop_healthregen_max <default: 150> -- Controls the maximum ammount of regenerated health when buying item "p" <q> customshop_armorregen_ammount <default: 10> -- Controls how many armor points you get every second when buying item "p" <q> customshop_armorregen_time <default: 0.5> -- Controls the speed of regeneration when buying item "p" <q> customshop_armorregen_max <default: 150> -- Controls the maximum ammount of regenerated armor when buying item "p" <t> customshop_goldenak_damage <default: 5> -- Controls the damage multiplier for item "t" <t> customshop_goldenak_bullets <default: 1> -- Controls whether item "t" will use golden bullets or not <t> customshop_goldenak_ammo <default: 500> -- Controls how many ammo item "t" has got
Custom sound can also be applied to any item. Check g_itemSounds.
* Move custom_shop.amxx in addons/plugins
* Move custom_shop.txt in addons/data/lang
* Move all the sound files in sound/misc
* Move all the models in models/custom_shop
The following languages are currently available: English, Macedonian, Bulgarian
Do not disrupt the readability of a thread with huge lengths of texts, wild color/font variations, or large images (this includes making the main body of all your posts a different font/color/style).
A shop was done 100 times before, it's not an unique ideea. Maybe not the same options, but adding health or armor to a plugin doesn't make it special.
Peoples got bored of such plugins, and they won't get approved(look at other shop plugins). Code can be fixed, but the ideea not.
@HamletEagle: Just because it has been done before, it doesn't mean that another user can't post a better one. Trust me - of all the other shop plugins, you're probably going to choose this one, since it has the most available options, it looks the best and has no bugs at all.