Jump to content

I Need Help with my MTA DayZ 0.9.9


Recommended Posts

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:

?

 
  1. Ambulance_Spawns = gameplayVariables["ambulancespawns"]

In cfgVehicles.lua i  added the following lines to the script:

?

 
  1. -- AMBULANCE
  2. gameplayVariables["ambulancespawns"] =
  3. {
  4. {-1504.4152832031,2533.7204589844,55.6875,0,0,0,10},
  5. }

In table_vehicles.lua i  added the following lines to the script:

?

 
  1. vehicleAddonsInfo = {
  2. -- {Model, Wheels, Engine, TankParts, ScrapMetal, WindscreenGlass, RotaryParts, Name, ColsphereSize, Slots, Fuel,RealName, varName}
  3.  
  4. -- VEHICLES
  5.  
  6. {416,4,1,1,0,0,0,"Ambulance",4,50,30,"Ambulance","ambulance"},
  7.  
  8. vehicleFuelTable = {
  9. -- {Model,MaxFuel}
  10. -- VEHICLES
  11. {416,125},
  12.  
  13. vehicleFuelConsumption = {
  14. -- {Model,ConsumptionPerMinute}
  15. -- VEHICLES
  16. {416,0.6},

I hope you can really help me man, i would really appreciate it.

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