catsobelico Posted June 15, 2017 Share Posted June 15, 2017 Hello, i really hope you can help me with this trouble i have. The thing is i have tried to add new vehicles in my MTA DayZ 0.9.9 Server in the script but nothing works, and when i open servers it´s like the vehicles i added to the script dont load. I edited the cfgVehicles.lua, table_vehicles.lua, and vehicles_init.lua files adding the vehicle i want and still doesnt work In vehicles_init.lua i added the following line to the script: ? Ambulance_Spawns = gameplayVariables["ambulancespawns"] In cfgVehicles.lua i added the following lines to the script: ? -- AMBULANCE gameplayVariables["ambulancespawns"] = { {-1504.4152832031,2533.7204589844,55.6875,0,0,0,10}, } In table_vehicles.lua i added the following lines to the script: ? vehicleAddonsInfo = { -- {Model, Wheels, Engine, TankParts, ScrapMetal, WindscreenGlass, RotaryParts, Name, ColsphereSize, Slots, Fuel,RealName, varName} -- VEHICLES {416,4,1,1,0,0,0,"Ambulance",4,50,30,"Ambulance","ambulance"}, vehicleFuelTable = { -- {Model,MaxFuel} -- VEHICLES {416,125}, vehicleFuelConsumption = { -- {Model,ConsumptionPerMinute} -- VEHICLES {416,0.6}, I hope you can really help me man, i would really appreciate it. 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