Available New plugin idea

Unpaid Requests, Public Plugins
Post Reply
Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

New plugin idea

#1

Post by Rain1153 » 5 years 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
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#2

Post by Night Fury » 5 years ago

What?!
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#3

Post by Rain1153 » 5 years 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
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#4

Post by Night Fury » 5 years ago

Rain1153 wrote: 5 years 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 private projects.
Discord: Fury#7469
Image

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#5

Post by Rain1153 » 5 years ago

yes
LOL

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#6

Post by Night Fury » 5 years 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 private projects.
Discord: Fury#7469
Image

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#7

Post by Rain1153 » 5 years ago

k thanks bro ill try it after updating the mod
LOL

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#8

Post by Night Fury » 5 years ago

Rain1153 wrote: 5 years 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 private projects.
Discord: Fury#7469
Image

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 6 years ago
Contact:

#9

Post by Rain1153 » 5 years ago

alright
LOL

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#10

Post by Raheem » 5 years ago

Jack GamePlay wrote: 5 years agoWhat?!
:joy:
He who fails to plan is planning to fail

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#11

Post by Night Fury » 5 years ago

Plugin avialable: viewtopic.php?f=15&t=3220
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

karan
Mod Tester
Mod Tester
India
Posts: 122
Joined: 6 years ago
Location: India
Contact:

#12

Post by karan » 5 years ago

nice :D
Image

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 4 guests