Sign in to follow this  

Problema script dayz by slothman

Recommended Posts


Ho un problema con lo script zombie di Slothman.

Ecco lo script del file della mia gm / server-side

addEventHandler("onResourceStart", getResourceRootElement(), function() 

nel file mta.xml ho aggiunto queste cose

        "*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 --> 
    function="createZombie" type="server"/> 
    function="isPedZombie" type="server"/> 

e quando avvio il server mi da errore nella funzione createZombie


Come posso risolvere questo problema?

Share this post

Link to post

Probabilmente manca qualche parametro nella funzione createZombie, non credo basti solo X Y Z :)

Share this post

Link to post

Dovresti controllare l'export di createZombie (dovrebbe stare da qualche parte, controlla).

Share this post

Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.