General VIP: Fall Damage Blocker

Plug-ins compatibility with Zombie Escape 1.x only!


Post Reply
User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

VIP: Fall Damage Blocker

#1

Post by z0h1r-LK » 4 years ago

VIP: No Fall Damage
• Description:
This plugin gives the ability for VIPs. Even if the VIP falls from a distance, he will not die and will not be harmed.

• Access Flags:
Default access flags :
  1. // Definitions
  2. #define VIP_ACCESS  VIP_H
• Console Variables:
  1. ze_vip_nofalldmg 1   // ( 1 = Block fall damage || 0 = Allow fall damage )
• Requirements:
• VIPs System

• Changes Log:
  1. [Version 0.1]
  2.  - Release.
  3. [Version 0.2]
  4.  - Switch Ham Sandwich hook to ReAPI.
  5. [Version 0.3]
  6.  - Optimize CVar.
• Downloads:
ze_vip_nofalldmg.sma
src
(995 Bytes) Downloaded 169 times
ze_vip_nofalldmg.sma
src
(995 Bytes) Downloaded 169 times
Last edited by z0h1r-LK 2 years ago, edited 5 times in total.

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#2

Post by Muhammet20 » 4 years ago

This is not related to ZE as i think :?

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#3

Post by z0h1r-LK » 4 years ago

Muhammet20 wrote: 4 years ago This is not related to ZE as i think :?
-_-
There More Server Zombie Escape Use This Plugin :)

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#4

Post by z0h1r-LK » 2 years ago

Updated!

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#5

Post by czirimbolo » 2 years ago

Why use this when we have parachute?
Image

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#6

Post by z0h1r-LK » 2 years ago

czirimbolo wrote: 2 years ago Why use this when we have parachute?
but! If the parachute is disabled or not present or release your finger on a button E (+use)
Last edited by z0h1r-LK 3 months ago, edited 1 time in total.
Reason: Correction

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#7

Post by czirimbolo » 2 years ago

All bots are crying when parachute is off haha
Image

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#8

Post by z0h1r-LK » 2 years ago

czirimbolo wrote: 2 years ago All bots are crying when parachute is off haha
:lol:
Anyway, I share plugin with you.

SobekPogrywamy
Member
Member
Poland
Posts: 24
Joined: 3 years ago
Contact:

#9

Post by SobekPogrywamy » 2 years ago

still get dmg :V

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#10

Post by z0h1r-LK » 2 years ago

SobekPogrywamy wrote: 2 years ago still get dmg :V
Thanks for feedback.
Fixed

SobekPogrywamy
Member
Member
Poland
Posts: 24
Joined: 3 years ago
Contact:

#11

Post by SobekPogrywamy » 2 years ago

still the same problem with taking damage, something is wrong ;P


nvm im see

if (bitsDamage_Type == DMG_FALL && (ze_get_vip_flags(iVictim) & VIP_ACCESS))

to one more &

if (bitsDamage_Type == DMG_FALL && (ze_get_vip_flags(iVictim) && VIP_ACCESS))


xD


now its good plugin, thanks :D

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#12

Post by z0h1r-LK » 2 years ago

I updated the plugin, It's should working, recopy code and compile it!

SobekPogrywamy
Member
Member
Poland
Posts: 24
Joined: 3 years ago
Contact:

#13

Post by SobekPogrywamy » 2 years ago

i know, im just say where is problem now ;V

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#14

Post by z0h1r-LK » 2 years ago

SobekPogrywamy wrote: 2 years ago i know, im just say where is problem now ;V
Here:
  1. if (!is_user_connected(iVictim) || !is_user_connected(iAttacker)) return HC_CONTINUE
Attacker is worldspawn, So when I use !is_user_connected(iAttacker), It's check Attacker is player or not!

SobekPogrywamy
Member
Member
Poland
Posts: 24
Joined: 3 years ago
Contact:

#15

Post by SobekPogrywamy » 2 years ago

fuck that barrier langue XD

if (bitsDamage_Type == DMG_FALL && (ze_get_vip_flags(iVictim) & VIP_ACCESS)) -> false on plugin

when im change to :

if (bitsDamage_Type == DMG_FALL && (ze_get_vip_flags(iVictim) && VIP_ACCESS))

plugin no problemo xD

now u know what im say? XD

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#16

Post by z0h1r-LK » 2 years ago

SobekPogrywamy wrote: 2 years ago fuck that barrier langue XD

if (bitsDamage_Type == DMG_FALL && (ze_get_vip_flags(iVictim) & VIP_ACCESS)) -> false on plugin

when im change to :

if (bitsDamage_Type == DMG_FALL && (ze_get_vip_flags(iVictim) && VIP_ACCESS))

plugin no problemo xD

now u know what im say? XD

& for Bitwise.
&& for Conditions.

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#17

Post by z0h1r-LK » 1 year ago

Updated to v0.3

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: Bing [Bot] and 0 guests