ImGUF Posted October 16, 2021 Share Posted October 16, 2021 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
The_GTA Posted October 16, 2021 Share Posted October 16, 2021 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
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