NotAvailable Posted June 3, 2010 Posted June 3, 2010 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
DEFCON1 Posted June 5, 2010 Posted June 5, 2010 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..
The_Ex Posted June 5, 2010 Posted June 5, 2010 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.
NotAvailable Posted June 5, 2010 Author Posted June 5, 2010 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now