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

Deathrun Shop [4.0 Final]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-13-2009 , 10:10   Deathrun Shop [4.0 Final]
Reply With Quote #1


banner by superang ^^





Description:

- plugin requested here http://forums.alliedmods.net/showthread.php?t=87460
- With this plugin if you have a dr server, you can buy items
- Kill a enemy to get points! You need points to buy items!
- Points are saved automatically when player has disconnected, and loaded when player is connecting.
- W00t.



Commands:

In console( admin access ):

- deathrun_set_points - <name/@all> <points> - set points to a player
- deathrun_reset_points
- <name/@all> - reset player points


Say or Say_Team:

- /drshop - open shop menu
- /mypoints - show your points




Modules:

- nvault
- fun
- fakemeta
- hamsandwich



Cvars:

Code:
// Plugin enabled?
deathrun_shop "1"

// He item cost
deathrun_he_cost "10"

// Both grenades cost
deathrun_bothgrenades_cost "20"

// Silent cost
deathrun_silent_cost "24"

// Health cost
deathrun_health_cost "30"

// Armor cost
deathrun_armor_cost "15"

// Speed cost
deathrun_speed_cost "39"

// Gravity cost
deathrun_gravity_cost "41"

// Invisibility cost
deathrun_invisibility_cost "69"

// Speed power cvar
deathrun_speed_power "800.0"

// Gravity power cvar
deathrun_gravity_power "0.3"

// Enable advertise message?
deathrun_advertise_message "1"

// Health item cvar
deathrun_health_points "255"

// Armor item cvar
deathrun_armor_points "400"

// Advertise time, in case if is enabled
deathrun_advertise_time "7.0"

// Percent to invisibility.. -> 0 to 255 (100 default)
deathrun_invisibility_percentage "111"

// Bonus points when you kill an enemy
deathrun_killer_bonuspoints "5"

// Lost points for suicider
deathrun_suicider_loose_points "3"

// Save player points on disconnect?
deathrun_save_points "1"

// Noclip item cost
deathrun_noclip_cost "50"

// Noclip duration
deathrun_noclip_duration "2"

// Jetpack item cost
deathrun_jetpack_cost "60"

// Jetpack duration
deathrun_jetpack_duration "10"

// Deagle item cost
deathrun_deagle_cost "31"

// Longjump item duration
deathrun_longjump_duration "6"

// Longjump item cost
deathrun_longjump_cost "46"

// Cost for glow
deathrun_glow_cost "8"

// Cost for nvg
deathrun_nvg_cost "33"



Items:

- HE Grenade: (buy a hegrenade, to attack the terorist or ct)
- HE + Flashbang Grenade: ( [PACK]: flashbang to blind enemy, he for attack)
- Silent Walk: (silent footsteps)
- +%d Health Points: (more health yay! / can be changed by cvar )
- +%d Armor Points: (more armor / -- || -- )
- Speed: (usefull to trick the enemy on traps)
- Gravity: (usefull to trick the enemy on traps)
- 100% Invisibility: (percent from 0 to 255 )
- Glow (for fun): random colors, random tickness
- Jetpack: press SPACE to fly with jetpack
-
Noclip noclip for X seconds
-
Long Jump: for X seconds
- Deagle: you get a deagle with a single clip. 7 bullets
-
Nightvision: for dark maps ;)



Credits:

- crazyeffect( for helping me with php script, images, and host + item ideas, thanks )
-
xPaw
- ConnorMcLeod
- minimiller ( because i used 90% from his script, sql etc thanks )


How to install?:


- install the plugin normally
- put the DeathrunShopLang.txt in your data/lang/ dir.
- put the DeathrunShop_Cfg.cfg in your /configs dir.




Changelog:

Code:
 
Version 1.0 - First Release

Version 2.0 - Optimized code + added more cvars

Version 2.1 - Added a configuration file

Version 3.0:

- Added more cvars
- Removed money and added points
- Added a command to show your points
- Added a admin command to set points to a player
- Added menu in ML

Version 3.1.1:

- Added more items
- Added more cvars
- Fixed some stuff
- Added sql stats
- Added saving points system
- Invisibility item can be used by both teams ^^
- Changed menu style
- Added a new cool effect when you buy items

Version 4.0

- Added new item
- Added new commands
- Added @all option for admin commands
- Updated code,
- Removed sql shit
- Added new sounds for some items
- Etc....






Misc:



- Point system works on your SteamID, so you need STEAM




Attached Files
File Type: cfg DeathrunShop_Cfg.cfg (1.5 KB, 18773 views)
File Type: txt DeathrunShopLang.txt (2.6 KB, 18598 views)
File Type: sma Get Plugin or Get Source (Deathrun_Shop.sma - 32970 views - 35.4 KB)
__________________

Last edited by tuty; 12-12-2009 at 03:05. Reason: updated
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Glist3r
Senior Member
Join Date: Feb 2008
Old 03-13-2009 , 10:12   Re: Deathrun Shop
Reply With Quote #2

UR the man!

+karma
Glist3r is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-13-2009 , 10:17   Re: Deathrun Shop
Reply With Quote #3

What difference does this have over the others? If it is only the "until player dies" parts, then posting this as a new plugin is not needed.
__________________
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
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-13-2009 , 10:20   Re: Deathrun Shop
Reply With Quote #4

Quote:
Originally Posted by YamiKaitou View Post
What difference does this have over the others? If it is only the "until player dies" parts, then posting this as a new plugin is not needed.

what the ..

i dont understand u :/
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 03-13-2009 , 12:02   Re: Deathrun Shop
Reply With Quote #5

first, xpaw doesnt support his hns shop, i think :E

+ here is stealth only for Ts...

thanks for the plugin +k
KadiR is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-13-2009 , 12:25   Re: Deathrun Shop
Reply With Quote #6

Dutch translation:

Quote:
[nl]
DRSHOP_DISABLED = [DrShop] Deathrun Winkel is Uitgeschakeld!
DRSHOP_ONLY_ALIVE = [DrShop] Je moet levend zijn om iets te kopen!
DRSHOP_GRENADE_ITEM = [DrShop] Je kocht een HE GRANAAT!
DRSHOP_BOTHGREN_ITEM = [DrShop] Je kocht een HE GRANAAT + FLASHBANG!
DRSHOP_SILENTWALK_ITEM = [DrShop] Je kocht stille voeten!
DRSHOP_HEALTH_ITEM = [DrShop] Je kocht +255 levens!
DRSHOP_ARMOR_ITEM = [DrShop] Je kocht +255 levens voor je kogelvrije vest!
DRSHOP_SPEED_ITEM = [DrShop] Je hebt meer snelheid gekocht!
DRSHOP_GRAVITY_ITEM = [DrShop] Je hebt zwaartekracht gekocht!
DRSHOP_ONLY_T = [DrShop] Alleen Terroristen kunnen dit kopen!
DRSHOP_INVISIBILITY_ITEM = [DrShop] Je kocht onzichtbaarheid!
DRSHOP_MENU_CLOSED = [DrShop] Je deed de Deathrun winkel dicht!
DRSHOP_HUD_INFO = Deze server heeft DeathRun Winkel!^Schrijf /drshop in de chat om iets te kopen!
DRSHOP_ALLREADY_HAVE = [DrShop] Je hebt dit item reeds!
DRSHOP_DONTHAVE_MONEY = [DrShop] Je hebt niet genoeg geld om dit te kopen!

And isnt ALREADY with one L?

Quote:
DRSHOP_ALLREADY_HAVE = [DrShop] You allready have this item!
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
PsYChOPaTiQuE
Veteran Member
Join Date: Jan 2009
Location: Paris
Old 03-13-2009 , 12:26   Re: Deathrun Shop
Reply With Quote #7

good plugin
i will put it on my serveur deathrun ;)
__________________
PsYChOPaTiQuE is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 03-13-2009 , 13:05   Re: Deathrun Shop
Reply With Quote #8

Haha, owned!
Already made...
__________________

anakin_cstrike is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-13-2009 , 13:10   Re: Deathrun Shop
Reply With Quote #9

haha where?
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
master4life
Senior Member
Join Date: Mar 2006
Location: Germany
Old 03-13-2009 , 13:11   Re: Deathrun Shop
Reply With Quote #10

German Translate

Code:
[de]
DRSHOP_DISABLED = [DrShop] Deathrun Shop ist Deaktiviert!
DRSHOP_ONLY_ALIVE = [DrShop] Du musst am Leben sein um Items zu Kaufen.!
DRSHOP_GRENADE_ITEM = [DrShop] Du hast eine HE Granate gekauft!
DRSHOP_BOTHGREN_ITEM = [DrShop] Du hast eine HE + Flashbang Granade gekauft!
DRSHOP_SILENTWALK_ITEM = [DrShop] Du hast dir Silent Walk gekauft!
DRSHOP_HEALTH_ITEM = [DrShop] Du hast dir +255 Lebenspunkte gekauft! 
DRSHOP_ARMOR_ITEM = [DrShop] Du hast dir +255 Rüstungspunkte gekauft! 
DRSHOP_SPEED_ITEM = [DrShop] Du hast dir Schnelligkeit gekauft! 
DRSHOP_GRAVITY_ITEM = [DrShop] du hast dir Schwerelosigkeit gekauft!!
DRSHOP_ONLY_T = [DrShop] Nur Terroristen könnnen dieses Item Kaufen!! 
DRSHOP_INVISIBILITY_ITEM = [DrShop] Du hast dir Unsichtbarkeit gekauft! 
DRSHOP_MENU_CLOSED = [DrShop] Du schliesst das Deathrun Shop Menu! 
DRSHOP_HUD_INFO = Dieser Server laeuft mit Deathrun Shop!^nSchreibe /drshop in Chatfenster um Items zu Kaufen!
DRSHOP_ALLREADY_HAVE = [DrShop] du hast das Iteam schon!
DRSHOP_DONTHAVE_MONEY = [DrShop] Du besitzt nicht so viel Geld um dieses Item zukaufen!

Last edited by master4life; 03-13-2009 at 17:09.
master4life is offline
Send a message via ICQ to master4life Send a message via MSN to master4life Send a message via Skype™ to master4life
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:36.


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