Super Runner & Heavy Beast

Unpaid Requests, Public Plugins
Post Reply
User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

Super Runner & Heavy Beast

#1

Post by Spir0x » 5 Months Ago

hi guys i got new ideai today, why not making a special plugin for these 2 plugins so when players reach 50 escapes example ther server give him more speed than others for just one map. and for 50 infects the server give zombies more knockback or gravity for one map too.


viewtopic.php?f=15&t=3561

viewtopic.php?f=15&t=3560


Hud messages:

Human: !tYou are !gsuper runner !tnow as you escaped !g50 !ttimes!y! (+ 50 speed)
Zombie: !tYou are !gheavy beast !tnow as you infected !g50 !ttimes!y! (+ 50 knock back)
I trynna make money, not friends.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#2

Post by Spir0x » 3 Months Ago

So what ?, i see it's a good idea !
I trynna make money, not friends.

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 577
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 47 times
Age: 19
Contact:

#3

Post by Jack GamePlay » 2 Months Ago

Do your action:
  1. #include <zombie_escape>
  2.  
  3. native ze_get_user_infects(id)
  4. native ze_get_user_escapes(id)
  5.  
  6. public plugin_init()
  7. {
  8.     register_plugin("[ZE] Best runner", "1.0", "Jack")
  9. }
  10.  
  11. public ze_user_infected(iVictim, id)
  12. {
  13.     if (is_user_alive(id) && ze_is_user_zombie(id))
  14.     {
  15.         if (ze_get_user_infects(id) > 50)
  16.         {
  17.             // Do your action
  18.             ze_colored_print(id, "!tYou are !gheavy beast !tnow as you infected !g50 !ttimes!y! (+ 50 knock back)")
  19.         }
  20.     }
  21. }
  22.  
  23. public ze_user_humanized(id)
  24. {
  25.     if (is_user_alive(id))
  26.     {
  27.         if (ze_get_user_escapes(id) > 50)
  28.         {
  29.             // Do your action
  30.             ze_colored_print(id, "!tYou are !gsuper runner !tnow as you escaped !g50 !ttimes!y! (+ 50 speed)")
  31.         }
  32.     }
  33. }
Not interested in CS/Pawn anymore.
Accepting web projects.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#4

Post by Spir0x » 2 Months Ago

and how can i change percentage of speed and knockback ?
I trynna make money, not friends.

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 577
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 47 times
Age: 19
Contact:

#5

Post by Jack GamePlay » 2 Months Ago

Spir0x wrote:
2 Months Ago
and how can i change percentage of speed and knockback ?
For knockback, In ze_core, we hooked traceattack, do the same thing but set your preferred value.
For speed, use the native
  1. ze_set_user_human
and update the speed on humanization.
Not interested in CS/Pawn anymore.
Accepting web projects.

Post Reply

Who is online

Users browsing this forum: Yandex [Bot] and 1 guest