Available [REQ] No train/helicopter Block

Unpaid Requests, Public Plugins
Post Reply
Turnedo
Member
Member
Morocco
Posts: 15
Joined: 6 years ago
Contact:

[REQ] No train/helicopter Block

#1

Post by Turnedo » 6 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
Posts: 2214
Joined: 7 years ago
Contact:

#2

Post by Raheem » 6 years ago

Welcome brother, Here is better version of AntiBlock you can use: http://escapers-zone.xyz/viewtopic.php?f=15&t=1929
He who fails to plan is planning to fail

Turnedo
Member
Member
Morocco
Posts: 15
Joined: 6 years ago
Contact:

#3

Post by Turnedo » 6 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
Posts: 2214
Joined: 7 years ago
Contact:

#4

Post by Raheem » 6 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. }
He who fails to plan is planning to fail

Turnedo
Member
Member
Morocco
Posts: 15
Joined: 6 years ago
Contact:

#5

Post by Turnedo » 6 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: 7 years ago
Contact:

#6

Post by Mohamed » 6 years ago

Raheem Can you convert this to zp ?

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

#7

Post by Raheem » 6 years ago

Turnedo wrote: 6 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: 6 years ago Raheem Can you convert this to zp ?
Here only ZE which is supported.
He who fails to plan is planning to fail

Turnedo
Member
Member
Morocco
Posts: 15
Joined: 6 years ago
Contact:

#8

Post by Turnedo » 6 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

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 16 guests