Raised This Month: $32 Target: $400
 8% 

Credits Mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
atambo
Senior Member
Join Date: Oct 2004
Location: Pittsburgh, PA
Old 08-09-2005 , 20:51   Credits Mod
Reply With Quote #1

Credit Mod

Plugin Description:
This plugin will give your players a credit for a certain amount of time they've played on the server. With each credit your players can buy upgrades and items. The amount of credits each upgrade costs is configurable through defines and so are the amount of credits given.

Plugin based on:
Upgrades Mod v 1.0.9 (Cheap_Suit)
Frequent Fragger Program (slurpycof)

Commands:
amx_givecredits <name> <amount> *NEW*
amx_removecredits <name> <amount> *NEW*
say /givecredits <amount> - gives amount of credits to whoever your aiming at
say /credits - shows players amount of credits and tells you in minutes how long until your next credit
say /buy (or) /upgrades - opens main upgrade menu
amx_querycredits - ADMIN_CVAR - shows all players credits in console

Cvars:
amx_upgrades 1 = on / 0 = off (even when upgrades are turned off it will still log players credits)

Passive Upgrade Description:
[Armor] - Increase MAX Armor
[Health] - Increase MAX Health
[Speed]- Increase MAX Speed
[Gravity] - Decrease Gravity
[Stealth] - Decrease Visability
[MultiJump] - Allows you to jump in the air (each level you purchase gives you another jump in the air)

Item Upgrades Description:
[Battle Aura] - Steals enemy's health
[First Aid] - HP/AP regeneration
[Weapon Training] - No recoil
[Jump Module] - Enables Bunny Hopping
[Climbing Gear] - Ability to climb walls
[Promotion] - 2x money intake
[Unlimited Ammo] - Give's no limition to ammunation
[Stealth Shoes] - Disable's Footstep sounds
[Wired C4 Explosive] - Kamikaze with remote
[E.S.P] - Ability to know where your enemy is
[Laser Pointer] - Adds an extra crosshair for your weapons
[Super Grenade] - Killer grenade
[Crowbar] - 2x damage knife
[Flash Protection] - Removes blindness from flashbangs

Includes:
Code:
#include <amxmodx> #include <engine> #include <cstrike> #include <fun> #include <vault>

Defines:
Code:
#define VER "1.0.4" //Amount of credits new players get #define numnewcredits 4 //Time Per Credit (in seconds) #define credittime 900 //How much the passive upgrades cost #define armorcost 1 #define hpcost 1 #define speedcost 1 #define gravitycost 1 #define stealthcost 1 #define multijumpcost 1 //How much the passive upgrades adds #define armorperbuy 10 #define hpperbuy 10 #define speedperbuy 20 //eg. 0.05 it will take off 5% of the users gravity #define gravityperbuy 0.1 //eg. (stealthperbuy = 60) times (stealthmaxlvl = 3) = 180 // the value must be lower than the defaultstealth #define defaultstealth 200 #define stealthperbuy 20 //How much the passive upgrades Max Level #define armormaxlvl 5 #define hpmaxlvl 10 #define speedmaxlvl 5 #define gravitymaxlvl 6 #define stealthmaxlvl 7 #define multijumpmaxlvl 5 //Item Upgrades //max items #define maxitems 6 //max credits spent per map #define maxcredits 15 //First Aid Regeneration #define regenerationrate 4.5 // health regeneration points #define hpregenp 5 // armor regeneration points #define apregenp 8 // First Aid cost #define regenerationcost 1 //Battle Aura cost #define hpscost 1 //Weapon Training cost #define weapontrainingcost 2 //Jump Module cost #define jumpmodulecost 1 //Climb Gear cost #define climbgearcost 1 //Promotion cost #define promocost 1 //Unlimited Ammo cost #define unlacost 1 //Stealth Shoe cost #define sshoecost 1 //C4 Wired Explosives #define BOMBKILL_RANGE 350 #define wiredc4ecost 1 //E.S.P cost #define espcost 2 //Laser Pointer #define lasercost 1 //Super Grenade cost #define sgrencost 1 //Crowbar cost #define crowbarcost 1 //Flash Protection #define flashcost 1

Screenshots: (click to enlarge)
Menu:


Wired C4:


ESP:


Crowbar:


Laser Pointer:


Stealth:


Climbing Gear:


Give Credits:
Attached Files
File Type: sma Get Plugin or Get Source (credits.sma - 3019 views - 52.1 KB)
__________________
atambo is offline
Send a message via AIM to atambo Send a message via MSN to atambo Send a message via Yahoo to atambo
 


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 00:05.


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