Red-Pitbull Posted March 8, 2014 Share Posted March 8, 2014 hi all guys i download zombie script from community https://community.multitheftauto.com/index.php?p=resources&s=details&id=347how i can change it zombie can spawn in area51 zombie cannot get out of area51 anyone have idea how i make Link to comment
RenanPG Posted March 8, 2014 Share Posted March 8, 2014 Edit the settings of resource on META: "*MaxZombies" value="[100]" /> --maximum allowed zombies --> "*StreamMethod" value="[1]" /> -- 1 to constantly stream zombies, 0 to only allow zombies to spawn via createZombie function, 2 to only allow spawning at set spawnpoints --> "*Speed" value="[1]" /> -- 0 is slowest, 1 is normal, 2 faster --> And find the spawn points in the scripts. Link to comment
manawydan Posted March 8, 2014 Share Posted March 8, 2014 or u can change StreamMethod to 0 and make one script like this (just example): local x,y,z = 0,0,0 -- change 0,0,0 to area 51 cordinates local MaxZombies = 10 function SpawnSomeZombiesInArea51() for i=1,MaxZombies do exports["zombies"]:createZombie(x+math.random(-4,4),y+math.random(-4,4),z) outputChatBox("Zombies Spawned, amount: "..MaxZombies,root) end end setTimer(SpawnSomeZombiesInArea51,60000,0) -- loop, in 1 minute to spawn more zombies Link to comment
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