Jump to content

[MTA:DayZ] Vehicles Spawn ERROR !


ImGUF

Recommended Posts

Hello, so i have got a bit of a problem.

I've created a mta DayZ server.

Everything was great and it was running fine, but the problem is that none of the vehicles spawn. Do i need to add some script for that or something?

Thanks for the help already ! ?

Link to comment

Hello SkyDow,

welcome to our forums! In this Scripting section we like to help you solve your Lua programming related questions so that you get to spawn your vehicles by either writing the Lua code yourself or making use of existing resources.

It sounds like you have made a map using the MTA map editor and are trying to use it inside of your own server. I think that by starting the map on your server then you can at least make the vehicles be placed on your server. If you want to add respawning rules then I recommend you to script it yourself using the toggleVehicleRespawn, setVehicleRespawnPosition and setVehicleRespawnDelay functions. You could loop through the map elements using the getElementsByType function in combination with the "vehicle" element type.

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