.: Description :.
This is just another Shop for Deathrun, but it has some of the exceptionally stuff. ;)
It has a shop where you can buy other knife models and preview them before you buy them, so you don't buy anything you don't want.
It also has Schwabba's Deathrun FrostNades.
It's also compatible to my Deathrun Lifes Plugin.
.: Requirements :.
.: Defines :.
- A Steam Server
- (Optional) SQL Database
PHP Code:
// Uncomment to use Deathrun Lifes @ https://forums.allie...ad.php?t=221855
//#define USE_LIVES
// Uncomment to use SQL instead of Vault
//#define USE_SQL
#define PREFIX "[Kia's Deathrun Shop]"
.: Commands :.
.: CVars :.
- say /shop - Opens the Shop.
- say /points - Shows you a colored message with the current amount of points you have.
- shop_ct_knifekill (Default : 4) - Amount of points a CT gets when he kills a Terrrorist with a knife.
- shop_ct_knifehs (Default : 4) - Amount of additional points a CT gets when he kills a Terrorist with a Knifeheadshot.
- shop_ct_weaponkill (Default : 2) - Amount of points a CT gets when he kills a Terrorist with a weapon.
- shop_ct_weaponhs (Default : 2) - Amount of additional points a CT gets when he kills a Terrorist with a Weaponheadshot.
- shop_t_knifekill (Default : 2) - Amount of points a T gets when he kills a CT with a knife.
- shop_t_knifehs (Default : 2) - Amount of additional points a T gets when he kills a CT with a Knifeheadshot.
- shop_t_weaponkill (Default : 1) - Amount of points a T gets when he kills a CT with a weapon.
- shop_t_weaponhs (Default : 1) - Amount of additional points a T gets when he kills a CT with a Weaponheadshot.
- shop_cost_model (Default : 1000) - Cost for buying a model.
- shop_cost_he (Default : 5) - Cost for buying a HE.
- shop_cost_nades (Default : 10) - Cost for buying a HE and a Flashbang.
- shop_cost_frost (Default : 15) - Cost for buying a Frostnade.
- shop_cost_hp (Default : 10) - Cost for buying HP.
- shop_cost_ap (Default : 5) - Cost for buying AP.
- shop_cost_para (Default : 10) - Cost for buying a parachute.
- shop_cost_life1 (Default : 20) - Cost for buying one extra life.
- shop_cost_life10 (Default : 150) - Cost for buying ten extra lifes.
- shop_cost_life50 (Default : 500) - Cost for buying 50 extra lifes.
- shop_cost_life100 (Default : 800) - Cost for buying 100 extra lifes.
- shop_cost_foot (Default : 1) - Cost for buying No Footsteps.
- shop_cost_speed (Default : 20) - Cost for buying Speedboost.
- shop_cost_grav (Default : 20) - Cost for buying Low Gravity.
.: Credits :.
- shop_amount_hp (Default : 255) - Amount of HP you get when you buy HP.
- shop_amount_ap (Default : 400) - Amount of AP you get when you buy AP.
- shop_amount_grav (Default : 0.65) - Gravity Factor after buying Low Gravity.
- shop_amount_speed (Default : 420.0) - Speed in Units you have after buying Speedboost.
.: To-Do :.
- Schwabba : Frostnades, Original Shop Design
- KRoTaL : Parachute
.: Add Models to Shop :.
- Reading Models from file.
- You have ideas? Post them here or write me a PM.
You can add special powers like more damage etc. if you want, just check CurWeapon code.
- At top of Plugin
- At func_ChooseModel_handler(id, menu, item)
- At func_CurWeapon(id)
Attached Files


Wyświetl pełny artykuł