Jump to content

MTA DayZ Bug a5.5.6 Version


JeweL

Recommended Posts

I have any problem.. Zombies doesnt spawn...

 

function zombieSpawning()
  local x, y, z = getElementPosition(getLocalPlayer())
  local material, hitX, hitY, hitZ = isObjectAroundPlayer2(getLocalPlayer(), 30, 3)
  if material == 0 and not isInBuilding(x, y, z) then
    triggerServerEvent("createZomieForPlayer", getLocalPlayer(), hitX, hitY, hitZ)
  end
end
setTimer(zombieSpawning, 3000, 0)

 

Link to comment

there is nothing wrong here so those can be the reason :-

3 hours ago, JeweL said:

isObjectAroundPlayer2

or 

3 hours ago, JeweL said:

isInBuilding

or maybe this event in server side

3 hours ago, JeweL said:

"createZomieForPlayer"

 

Edited by Sisqo0
Link to comment

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...