Sticmy Posted December 9, 2017 Posted December 9, 2017 Hi i would like to know how to put the zombies appear in a zone that i put and when leaving that area they die or they can not leave only they are in that zone i use the script of slothman script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=347 someone helps me please? My name in the game is: Sticmy My discord: Sticmy#3817 My discord community: https://discord.gg/366Y9bB
Sticmy Posted December 11, 2017 Author Posted December 11, 2017 On 9/12/2017 at 16:57, Steven'Bc said: Hi i would like to know how to put the zombies appear in a zone that i put and when leaving that area they die or they can not leave only they are in that zone i use the script of slothman script: https://community.multitheftauto.com/index.php?p=resources&s=details&id=347 someone helps me please? Help??? My name in the game is: Sticmy My discord: Sticmy#3817 My discord community: https://discord.gg/366Y9bB
DRW Posted December 11, 2017 Posted December 11, 2017 As far as I know, those zombies use "radar areas" to create safe zones so zombies die, that would mean there is an "isInsideRadarArea" function which kills the zombies using "killPed" and also cancels the spawn of the zombies. If you can find something like: if isInsideRadarArea (area,x,y) then killPed () end Use this: if not isInsideRadarArea (area,x,y) then killPed() end In that case, you should create a radar area using: local radar = createRadarArea (x,y,width,height,r,g,b,a) setElementData (radar,"zombieProof",true) This radar area will let zombies spawn and will kill or cancel the spawn of the zombies who are not inside it. Proud owner and developer of ZNEXT: Aftermath. Enter a post-apocalyptic San Andreas and fight over 30 types of enemies and bosses with varying difficulties and skills, improve and customize your character by leveling up, completing challenges and a solid lootbox system with no Pay-to-Win mechanics that will break your experience. Meet new characters, creatures and weapon metas, experience an innovative combo-based melee system, or join our solid PvP modes to show other survivors who’s boss. Español, Pусский, Türk, عربى, Polski, Português IP: mtasa://104.36.110.227:22003 - Discord: https://discord.gg/CxMxjvC5pB
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