Plugin Available [REQ] No train/helicopter Block

Unpaid Requests, Public Plugins
Post Reply
Turnedo
Member
Member
Morocco
Posts: 15
Joined: 2 Years Ago
Has thanked: 2 times
Been thanked: 0
Contact:

[REQ] No train/helicopter Block

#1

Post by Turnedo » 2 Years Ago

Hi Escapers-Zone !
I need Help :'(
In my server the players block plain/train from moving ...!
I need a plugin who can slap players with 10% from his helth every bloock :shock: !!
Can some one make this plugin ?

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

#2

Post by Raheem » 2 Years Ago

Welcome brother, Here is better version of AntiBlock you can use: viewtopic.php?f=15&t=1929
You don't know? Learn and you will know.

Turnedo
Member
Member
Morocco
Posts: 15
Joined: 2 Years Ago
Has thanked: 2 times
Been thanked: 0
Contact:

#3

Post by Turnedo » 2 Years Ago

Thanks Bro Raheem !
Can You add some hud msg :
(Client_print(print_cinter, id"Stop Blocking !!")
And hud show who bloock ! :
(Set_hud " %s is blocking !!")

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

#4

Post by Raheem » 2 Years Ago

Center message good idea, But as this event maybe repeated manytimes before he thrown out of the train/helicopter so it's not good to add HUD Text Message. If you need to add it simple add it down the chat center one.
    1. #include <zombie_escape>
    2.  
    3. new const szEntities[][] =
    4. {
    5.     "func_train",
    6.     "func_vehicle",
    7.     "func_tracktrain",
    8.     "func_door"
    9. }
    10.  
    11. public plugin_init()
    12. {
    13.     register_plugin("No Block", "1.0", "Raheem")
    14.  
    15.     for (new i = 0; i < charsmax(szEntities); i++)
    16.     {
    17.         RegisterHam(Ham_Blocked, szEntities[i], "Fw_Blocked_Post", 1)
    18.     }
    19. }
    20.  
    21. public Fw_Blocked_Post(iEnt, id)
    22. {
    23.     if (is_user_alive(id) && pev_valid(iEnt))
    24.     {
    25.         new Float:flVelocity[3]
    26.  
    27.         velocity_by_aim(id, 550, flVelocity)
    28.  
    29.         flVelocity[0] += 20.0
    30.         flVelocity[1] += 20.0
    31.         flVelocity[2] += 20.0
    32.  
    33.         set_entvar(id, var_velocity, flVelocity)
    34.        
    35.         client_print(id, print_center, "Stop Blocking!!")
    36.     }
    37. }
You don't know? Learn and you will know.

Turnedo
Member
Member
Morocco
Posts: 15
Joined: 2 Years Ago
Has thanked: 2 times
Been thanked: 0
Contact:

#5

Post by Turnedo » 2 Years Ago

Thank you Bro <3
In this plugin ! If player bloock the dor he get slap or what ?
And the last thing can you add a Tut : how make a map for zombie escape ?

Mohamed
Member
Member
Tunisia
Posts: 15
Joined: 2 Years Ago
Has thanked: 0
Been thanked: 0
Contact:

#6

Post by Mohamed » 2 Years Ago

Raheem Can you convert this to zp ?

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

#7

Post by Raheem » 2 Years Ago

Turnedo wrote:
2 Years Ago
Thank you Bro <3
In this plugin ! If player bloock the dor he get slap or what ?
And the last thing can you add a Tut : how make a map for zombie escape ?
You can try for door case. I don't try it.

About making zombie escape map, I have no experience in mapping but i was learn it and stopped sometime ago. For you if you need to make zombie escape map you will need to be with mapping community to ask them for help like gamebanana. Also you will need to learn first how to make simple map and maps basics then to make zombie escape map it's like any map but at the end you will need to make like button and it's connected with entity like train and this train has track to move on and then you define when someone press this button the trains come and at it's end point you set trigger hurt to kill zombies. That's how you can do. I was use Valve Hammer in this learning but as i told you now i'am stopped. Maybe later i'll continue and if i managed to complete a map i'll post TUT how it's done.
Mohamed wrote:
2 Years Ago
Raheem Can you convert this to zp ?
Here only ZE which is supported.
You don't know? Learn and you will know.

Turnedo
Member
Member
Morocco
Posts: 15
Joined: 2 Years Ago
Has thanked: 2 times
Been thanked: 0
Contact:

#8

Post by Turnedo » 2 Years Ago

Ok Bro !! No problem I will search about ze maps And how to make one !
I will post if I find it :)

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests