Raised This Month: $ Target: $400


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Sven Coop        Category:   Fun Stuff        Approver:   GHW_Chronic (70)
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
Old 07-18-2006 , 08:00   SC STUFF PLUGIN
Reply With Quote #1


Version 2.0 by Silencer

Thanks to:
Goshik, Shurik3n, VEN and xXAvalancheXx.

Known Bugs:
 - Amount of AR Grenades in Menu is always 0, as this Amount
   can't be read with the current AMXModX Versions Functions.
   Be careful so you do not waste your Money for AR Grenades,
   although you already have 10.
 - If you use countdown_abort there is still a set_task counting.
   Only use this Command if it is very neccessary, otherwise another
   Countdown will count down with double Speed, until the abortet
   Countdowns Timelimit is up. If anyone knows how to abort a
   running set_task function please let me know.

Plugins Functions:
Admins can set Price of Ammo and set/add/reduce Money of every single Player.
Everyone can use the Buy Ammo Menu to Buy Ammo with the Money set by an Admin.
Players can also have an Amount of Money after connecting, set with a Command.
The Admin needs Access Flag P.
Admin can also set Amount of Healthkits a Player starts with.
Everyone can use his Healthkits with a Command.
Amount of Healthkits will be reset on Respawn.
Healthkit Usage has a setable Decay Time.
The usual Functions are included. (Godmode, Noclip, Give Weapons and Items, Set Health/Armor)

Commands for Clients/Normal Players:
buyammo - Open Menu to buy Ammo by paying virtual Money (Or say /buyammo in Chat instead)
usehealthkit - Get a Healthkit from your Backpack (Or say /usehealthkit in Chat instead)
money_read Playername - See how much Money a Player has
sc_plugin_info - Prints this help to console
Additional Commands for Admins with Flag P:
buyammo_status 1/0 - Set Buy Ammo Menus Status - 1 is ON - 0 is OFF.
buyammo_toggle - Toggle the Buy Ammo Menu ON/OFF - Everyone will be notified.
countdown_special Amount Command Description - Countdown for doing a Command.
countdown_abort - Abort Countdown.
money_set Playername Amount - Set Players Money.
money_add Playername Amount - Raise Players Money.
money_destroy Playername Amount - Reduce Players Money.
price_357rounds Amount - Set Price for six Rounds for the 357.
price_buckshots Amount - Set Price for twelve Buckshotss for the Shotgun.
price_riflerounds Amount - Set Price for five Bullets for the Sniper Rifle.
price_arrows Amount - Set Price for five Arrows for the Crossbow.
price_cells Amount - Set Price for 20 Energy Cells for the Gauss and Egon.
price_rockets Amount - Set Price for two RPG Rockets for the RPG Launcher.
price_argrenades Amount - Set Price for two AR Grenades for the 9mm AR.
price_9mmammo Amount - Set Price for 17 Bullets for 9mm Weapons.
price_chainammo Amount - Set Price for 100 Rounds for the Minigun.
healthkit_amount Amount - Set Amount of Healthkits in Players Backpacks on Spawn.
healthkit_decaytime Amount - Set Decay Time for Healthkit Usage in Seconds.
give_item - Replace 'item' with a Weapons/Items Name to spawn it.
set_god Playername - Toggle Players God Mode On or Off.
set_noclip Playername - Toggle Players Noclip Mode On or Off.
set_health Playername Value - Set Players Health.
set_armor Playername Value - Set Players Armor.

Coming up next Version ( 2.0 ):
Players can place Turrets

Version History:
Version 2.0: Engine module no longer required.
Version 1.9: Fixed Bug with Money for Frags
Version 1.8: Money for Frags (Sadly this is calculated very simple)
Version 1.7: Countdown does not lag anymore. Money is being saved (Finally)
Version 1.6: Countdown Commands and some minor Bug Fixes.
Version 1.5: All Commands are much shorter now. Added "is_user_alive" checking.
             Some Messages are now shorter.
Version 1.4: Added the usual Functions. (Godmode, Noclip, Give Weapons and Items, Set Health/Armor)
             Healthkit Usage Decay Time is now changeable. Note that if it is smaller than 0.1
             it will be set to 0, as set_task has 0.1 Seconds as Minimum.
             Fixed some Stuff.
Version 1.3: Added 3 Seconds Decay Time for Healthkit Usage.
             Made faked Columns with Spaces, as Columns do not work in Sven Coop.
             Added Admin Access checking for Toggling Buy Ammo Menu On or Off.
Version 1.2: Added Sound Precaches to fix Crash
             on Maps that have no "item_healthkit" inside.
             Fixed a Bug with adding and destroying Money.
Version 1.1: Added Precache "models/w_medkit.mdl"
             to fix Game Crash when trying to get Healthkit.
Version 1.0: Initial Release.

Suggestions are welcome!
Attached Files
File Type: sma Get Plugin or Get Source (scstuffplugin.sma - 4080 views - 45.8 KB)

Last edited by Silencer123; 12-17-2006 at 12:32.
Silencer123 is offline

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 09:59.

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