Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

Kia's Deathrun Shop (Yet another Shop) (1.0.0 - 28.07.2013)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 530
  • Lokalizacja:AMXX.PL
Offline

Napisano 28.07.2013 10:44

Dołączona grafika

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

  • A Steam Server
  • (Optional) SQL Database
.: Defines :.



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 :.
  • say /shop - Opens the Shop.
  • say /points - Shows you a colored message with the current amount of points you have.
.: CVars :.
  • 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.
  • 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.
.: Credits :.
  • Schwabba : Frostnades, Original Shop Design
  • KRoTaL : Parachute
.: To-Do :.
  • Reading Models from file.
  • You have ideas? Post them here or write me a PM.
.: Add Models to Shop :.
  • At top of Plugin
    Dołączona grafika
  • At func_ChooseModel_handler(id, menu, item)
    Dołączona grafika
  • At func_CurWeapon(id)
    Dołączona grafika
You can add special powers like more damage etc. if you want, just check CurWeapon code.



Attached Files Dołączona grafikaGet Plugin or Get Source (deathrun_shop.sma - 31.5 KB) Dołączona grafikakiasdrunshop_files.zip (872.2 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych