Jump to content

[HELP]Looking for safe zone [zombies cant attack you]


Recommended Posts

Posted

Hi. im looking for a Safe zone.

I saw some in the Community,

But they are not good. (for my server)

Im looking for a safe zone script,

so when you are in the safe zone Zombies Can't attack you.

And Players cannot attack you.

Could someone fix this for me?

GreetZ: JS

I am a newbie in scripting ^^

PS: Sorry for my bad English

Posted

You have to create your safe zone(s) by yourself... Noone can guess what kind of zone is good or bad for you.

Try, it shouldn't be hard even for a beginner. Just look on other scripts, change some coordinates.. :)

Posted

Simple script would be creating a colshape. When onClientPlayerDamage is triggered check if element is within colshape and if attacker is player/ped and just cancelEvent() if it's true.

That would cancel all the damage done to player.

Posted
Simple script would be creating a colshape. When onClientPlayerDamage is triggered check if element is within colshape and if attacker is player/ped and just cancelEvent() if it's true.

That would cancel all the damage done to player.

or i could change OnClientPlayerDamage to: OnClientZombieDamage

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...