Looking for a mod that allows you choose the colors on your headlights as a vehicle upgrade.
I seen it on another server and would love to use it for testing.
Looking for a mod that allows you choose the colors on your headlights as a vehicle upgrade.
I seen it on another server and would love to use it for testing.
// 0xE41033B25D003A07
// SetVehicleHeadlightsColour
void _SET_VEHICLE_HEADLIGHTS_COLOUR(Vehicle vehicle, int color);
There you go
Here is a example of how it would be used
local veh = GetVehiclePedIsUsing(PlayerPedId())
ToggleVehicleMod(veh, 22, true) -- toggle xenon
SetVehicleHeadlightsColour(veh, 2)
Thanks brother.
Where do I put this though?
In your code!?
I added an example of how you could use it in the solution
How do you go about using it in esx_lscustom, any idea? I don’t see anywhere it could be added.
Still not sure where to implement the example given.
If someone could walk me through it, that would be awesome.
Still have yet to figure this out. I want to add custom headlight colors into lscustoms, not sure if anyone knows how.
I know that VMenu has it go look at the code and see what they are using!
The coding for this, Do you have to put it in the server or can it be done in a menu?
Hi, every time I try to call SetVehicleHeadlightsColour or when I run this code, I get the following error: attempt to call a nil value (global ‘SetVehicleHeadlightsColour’)
I’m guessing I’m doing something really stupid, just can’t see what it is…any thoughts?
https://runtime.fivem.net/doc/natives/#_0xE41033B25D003A07
Sorry Kriz But where on esx_lscustoms i need to put it !!!
Hey brother ypu know the twitter app you are Malung for gcphone im intresserad to Help you and stuff contact my dc: …Alpha…#3740