Plugin Available New plugin idea

Unpaid Requests, Public Plugins
Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 19
Contact:

New plugin idea

#1

Post by Rain1153 » 1 Year Ago

Can we make a plugin (not extra item) ....by using the new speed set/reset natives for zombies to get a x speed in x amount of time with x cooldown
LOL

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#2

Post by Mohamed Alaa » 1 Year Ago

What?!
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 19
Contact:

#3

Post by Rain1153 » 1 Year Ago

so this is my idea.....a button must be used to initiate the plugin if the player is zombie he will get this ability for speed boost...if he presses the button he will get speed for an amount of time before the cooldown
LOL

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#4

Post by Mohamed Alaa » 1 Year Ago

Rain1153 wrote:
1 Year Ago
so this is my idea.....a button must be used to initiate the plugin if the player is zombie he will get this ability for speed boost...if he presses the button he will get speed for an amount of time before the cooldown
So this all means you need a plugin for speed boost for x time?
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 19
Contact:

#5

Post by Rain1153 » 1 Year Ago

yes
LOL

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#6

Post by Mohamed Alaa » 1 Year Ago

Description:

Speed boost plugin gives zombie extra speed for amount of time then removes it.
Say /sb to enable it.

Cvars:
  1. Time to remove the extra speed

    Code: Select all

    ze_speedboost_time 3.0
  2. The new speed the zombie gets

    Code: Select all

    ze_boost_speed 320
Code:
  1. #include <zombie_escape>
  2.  
  3. new g_pCvarSpeedBoostTime, g_pCvarBoostSpeed
  4.  
  5. public plugin_init()
  6. {
  7.     register_plugin("[ZE] Addons: Speed Boost", "1.0", "Jack GamePlay")
  8.  
  9.     register_clcmd("say /sb", "SpeedBoost")
  10.  
  11.     g_pCvarSpeedBoostTime = register_cvar("ze_speedboost_time", "3.0")
  12.     g_pCvarBoostSpeed = register_cvar("ze_boost_speed", "320")
  13. }
  14.  
  15. public SpeedBoost(id)
  16. {
  17.     if (!is_user_alive(id) || !ze_is_user_zombie(id))
  18.         return
  19.  
  20.     ze_set_zombie_speed(id, get_pcvar_num(g_pCvarBoostSpeed))
  21.     set_task(get_pcvar_float(g_pCvarSpeedBoostTime), "Remove_Speed", id)
  22. }
  23.  
  24. public Remove_Speed(id)
  25. {
  26.     if (!is_user_alive(id) || !ze_is_user_zombie(id))
  27.         return
  28.  
  29.     ze_reset_zombie_speed(id)
  30. }
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 19
Contact:

#7

Post by Rain1153 » 1 Year Ago

k thanks bro ill try it after updating the mod
LOL

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#8

Post by Mohamed Alaa » 1 Year Ago

Rain1153 wrote:
1 Year Ago
k thanks bro ill try it after updating the mod
By the way, it will give 2 warnings.
Just remove PLUGIN_CONTINUE & It'll be solved.
Anyway, i will improve it after few hours.
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 19
Contact:

#9

Post by Rain1153 » 1 Year Ago

alright
LOL

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#10

Post by Raheem » 1 Year Ago

Jack GamePlay wrote:
1 Year Ago
What?!
:joy:
You don't know? Learn and you will know.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests