I spawn the car and it has none of the extras ( top light bar, visor lights, and more ) spawn on the vehicle.
I am trying to see about if there is a way to spawn it with all the extras because it seems to be very random and 90% of the spawn has zero lights. Is there any Ideas from anyone i tried something like this,
if ModKit == “yes” then
SetVehicleModKit(Vehicle ,0)
SetVehicleMod(Vehicle , 0, 1)
end
but it did not work. Im sure I am not the first person with this issue maybe we can fix it for all!
That is not how it works…
Thanks for the info, Im learning thats why im here brother.
if you give me some more informations I could probably help you.
Are the things that are not visible vehicle mod parts or extras?
i was trying to use this charger, http://highspeed-gaming.com/Forum/index.php?/files/file/13-2014-dodge-charger-pursuit-v14rx/
and it works fine just cant get it to spawn with all extras attached, like so http://i.imgur.com/9HFbcY2.png
it spawns with non of these lights, I am spawning it via Custom police garage, and scripthook is disabled on server.
Have you tried using this? http://runtime.fivem.net/doc/reference.html#_0x7EE3A3C5E4A40CC9
SetVehicleExtra(veh, extra, true/false)
False would turn it on. True turns it off.
Didnt see this im going to give it a try and if it works i will post an update to let u know!! THANKS
It did work thank you so much for helping me out.
where do you put the setvehicle, like what file is it in?
Well for me its the my custom garage spawning system, I dont use trainers for my project.
oh u are putting this in the garage.lua? I thought u could do this in the vehicle data files or something
where you put that text?
did u found in wich file goes?