Description:
You can buy items in jail server with a credits system. Kill players for win credits.
Requirements:
SM HOSTIES
Smart Jail Doors
SDK Hooks
SMLIB - just for compile
Cvars and Prices:
Code:
Cvars
shop_credits_maximum 50000 //Maxim of credits for player
shop_credits_per_kill_t 3 //Amount of credits for kill ( prisioner )
shop_credits_per_kill_ct 1 //Amount of credits for kill ( guard )
shop_credits_per_kill_lr 300 //Amount of credits for the last player
shop_spawnmessages 1 //Messages on spawn - ( 1 enable, 0 disable)
shop_credits_save 1 //Save or not credits on player disconnect - ( 1 enable, 0 disable)
shop_terrorist_only 1 //Menu for only prisioners - ( 1 enable, 0 disable)
shop_warmupcredits 0/1 - disable or enable credits on warmup
shop_revive_on 1/0 - disable or enable item !revive
shop_minplayers 4 - minimum players to get credits for kill or LR
shop_credits_per_kill_t_vip - Amount of credits for kill ( prisioner ) for VIP (flag a)
shop_credits_per_kill_ct_vip - Amount of credits for kill ( guard ) for VIP (flag a)
shop_credits_per_kill_lr_vip - Amount of credits for the last player for VIP (flag a)
shop_credits_per_kedavra - Amount of credits for one right avada kedavra
Prices of Terrorist Shop
price_01 7000 Price of item (invisible)
price_02 2000 Price of item (awp)
price_03 7000 Price of item (immortal)
price_04 800 Price of item (open jails)
price_05 4000 Price of item (more fast)
price_06 3500 Price of item (hp)
price_07 2000 Price of item (eagle)
price_08 1500 Price of item (super knife)
price_09 50 Price of item (healing)
price_10 650 Price of item (molotov)
price_11 7000 Price of item (skin)
price_12 1000 Price of item (poison smoke)
price_14 8000 Price of item (smoke teleporter)
price_15 8000 Price of item (respawn)
price_16 2000 Price of item (he with fire)
price_17 2000 Price of item (bhop)
price_18 2000 Price of item (low gravity)
price_19 1000 Price of item (taser with 3 bullets)
price_20 10000 Price of item (Kedavra)
Prices of CtSHOP
price_21 5000 - Price of item (VestHelm)
price_22 1500 - Price of item (Healing)
price_23 12000 - Price of item (InifinteAmmo)
price_24 8000 - Price of item (KitGrenade)
Default Commands:
sm_shop - open the shopmenu
sm_ctshop - open the ct shop
sm_credits - view your current credits
sm_revive - you can revive with credits
sm_give <#userid|name> [amount] - admin command (ROOT) for set credits in players.
sm_set <#userid|name> [amount] - admin command (ROOT) for set credits in players, but instead of replacing the current credits, they are summed.
sm_gift <#userid|name> [amount] - player command for gift your credits for another player!
sm_showcredits - admin command ( ROOT) for view all players credits.
sm_removeall - admin command ( ROOT) for delete all player credits in game.
Items list:
Be Invisible for 10 seconds
Have AWP with one bullet
Be Immortal for 20 seconds
Open the Jails
Be Fast + Vampire
Have +150 HP and HELM
Have Eagle with seven bullets
Super knife ( kill the opponent with one stab )
Healing
Buy a molotov + 2 flashbangs( CSGO ) OR Buy a 2 flashbangs ( CSS )
Have guard skin
Buy a poison smoke
Become a Smoke teleporter
Respawn ( You have that use !revive command )
Buy a he that burn the opponent
Have BunnyHop
Have Low Gravity
Have Zeus (TASER) with 3 bullets
Have POWER of AVADA KEDAVRA
CT SHOP:
VestHelm
Infinite Ammo
Healing
Kit Grenade
Configuration:
cfg/sourcemod/sm_shopjail.cfg
For Kit of Grenades, put in server.cfg
sm_cvar ammo_grenade_limit_flashbang 2
sm_cvar ammo_grenade_limit_total 5
THIS REQUIRE HOSTIES !!
Credits:
Franc1sco Franug for original idea, live4net for suggestions and Equiment for plugin of Avada Kedavra!