Raised This Month: $ Target: $400
 0% 

[ZP] Extra Item : Speed Boost || Updated v1.2 [28/06/2009]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-14-2008 , 16:52   [ZP] Extra Item : Speed Boost || Updated v1.2 [28/06/2009]
Reply With Quote #1

[ZP] Extra Item : Speed Boost
( ability for Humans and Zombie )

by Fry!



Description :

This is Speed Boost ability for both teams, that if you want to run away from enemy. When you will run you will have fire or smoke trail ( depends on cvar ). Ability is only for 1 round or until it ends, so in new round you must buy it again.

Note
:


Want to use it for admins only? Then uncommnet this.
Code:
//#define FOR_ADMINS_A_FLAG


Cvars
:

Quote:
  • zp_sb_cost "8" - How much Speed Boost will cost
  • zp_sb_maxspeed "325.0" - This will be maxspeed, but you can change it what ever number you want.
  • zp_sb_time "25.0" - How long you can run before boost are over.
  • zp_sb_red_color "150" - Amount of red color.
  • zp_sb_green_color "0" - Amount of green color.
  • zp_sb_blue_color "100" - Amount of blue color.
  • zp_sb_bar <1|0> - Enable|Disable speed boost bar (show's current speed)
  • zp_current_speed_bar <1|0> - Enable|Disable current speed bar
  • zp_sb_trail <1|0> - Enable|Disable trail.
  • zp_sb_sprite_type <1|0> - Chose between fire trail or smoke trail


Commands
:


say /sboost or say_team /sboost - to buy Speed Boost

Changelog :

Code:
14/11/2008 - v1.0 - First release
15/11/2008 - v1.1 - fixed some mistakes, added cvar how long you can use maxspeed.
18/11/2008 - v1.1.2 - added glow effect when you buy speed booster with cvars, added reset after infection or kill.
04/01/2009 - v1.1.5 - fixed speed boost if you already had due to you could waste ammo packs, removed wrong admin function, added new possibility to change for admins only.
28/06/2009 - v1.2 - added new feature for speed boost, added to show current speed and if you are using speed boost it will be showed as well, removed toggle cvar, corrected chat messages, optimized code.

Plugin is available to download here!
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.

Last edited by Fry!; 06-28-2009 at 13:28. Reason: New release v1.2 ; delayed.
Fry! is offline
 


Thread Tools
Display Modes

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


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