Greetings All,
I added “vehicle_generator” in the map.lua trying to spawn default cars in my server, but after that I couldn’t get into my server, it always stuck at loading screen, does anyone have the same problem? if so, what could be the problem? Thank you!
I had the same exact problem. Not much help in my topic, unfortunately.
I have a car pack with a few cars that are added to additional vehicle slots. They are streamed along with the .meta files just fine. In game, they operate normally.
However, I tried to have a few of these vehicles spawn in a spot using the vehicle_generator in map.lua. As soon as I did that, I was unable to join the server and got stuck on initializing.
I did some searching around, but can’t find anything to help me out with this. Anybody have any idea?
Thanks
Backup your map.lua file.
Create a new map.lua file
Paste the code below and check if it works
spawnpoint 'a_m_y_skater_01' { x = -115.527, y = 6457.939, z = 31.468 }
vehicle_generator "taxi" {918.096, -166.868, 74.619,heading= 104.656}
Car generators in the default map system do not work currently, this is a known bug.
oh k , i had my code from above on a testing server, didn’t verify if it still works, but i know it did work when i used the box
Thank you guys so much, I guess I’ll have to wait for the bug to be fixed then, Thank you!