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

Xcash By Krotis


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Krotis
Senior Member
Join Date: Aug 2012
Old 08-07-2012 , 15:09   Xcash By Krotis
Reply With Quote #1

Xcash Mod

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

Commands:
amx_givecash <name> <amount>
amx_removecash <name> <amount>
say /givecash <amount> - gives amount of cash to whoever your aiming at
say /cash - shows players amount of cash and tells you in minutes how long until your next cash
say /shop (or) /upgrades - opens main upgrade menu
amx_querycash - ADMIN_CVAR - shows all players cash in console

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

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
[Exploding Bullets] - Bullets Expode
[Deadly Deagle] - One Shot kill Deagle



#include <amxmodx> #include <engine> #include <cstrike> #include <fun> #include <vault>


Defines:
Code:

#define VER "1.0.4" //Amount of cash new players get #define numnewcash 4 //Time Per Cash (in seconds) #define cashtime 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 armorpershop 10 #define hppershop 10 #define speedpershop 20 //eg. 0.05 it will take off 5% of the users gravity #define gravitypershop 0.1 //eg. (stealthpershop = 60) times (stealthmaxlvl = 3) = 180 // the value must be lower than the defaultstealth #define defaultstealth 200 #define stealthpershop 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 cash spent per map #define maxcash 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
Attached Files
File Type: sma Get Plugin or Get Source (Xcash.sma - 967 views - 51.6 KB)

Last edited by YamiKaitou; 08-07-2012 at 15:10.
Krotis is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-07-2012 , 15:11   Re: Xcash By Krotis
Reply With Quote #2

AMXX file removed, you are not authorized to upload it
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Old 01-07-2013, 08:48
Krotis
This message has been deleted by Arkshine. Reason: Don't bump here. There is no reason to do it.
WhyThis
Senior Member
Join Date: May 2013
Old 05-29-2013 , 13:55   Re: Xcash By Krotis
Reply With Quote #3

I love this . 4 stars i rated it
WhyThis is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 05-29-2013 , 15:31   Re: Xcash By Krotis
Reply With Quote #4

Quote:
Originally Posted by Krotis
#define VER "1.0.4" //Amount of cash new players get #define numnewcash 4 //Time Per Cash (in seconds) #define cashtime 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 armorpershop 10 #define hppershop 10 #define speedpershop 20 //eg. 0.05 it will take off 5% of the users gravity #define gravitypershop 0.1 //eg. (stealthpershop = 60) times (stealthmaxlvl = 3) = 180 // the value must be lower than the defaultstealth #define defaultstealth 200 #define stealthpershop 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 cash spent per map #define maxcash 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
What the hell is that shit? I know I ain't reading that
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]

Last edited by tonykaram1993; 05-29-2013 at 15:31.
tonykaram1993 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-16-2015 , 11:01   Re: Xcash By Krotis
Reply With Quote #5

That's coded using horrible methods. Please learn more before releasing plugins.

Unapproved.
__________________
HamletEagle is offline
Reply



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 03:46.


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