Hello again guys! Either these documents suck, OR Lua is a piece of turd to script on. I miss C. Anyways, I’m trying to leverage SetVehicleJetEngineOn just like the person did in the video sourced from the native reference itself:
youtu.be/OK0ps2fDpxs
Just like the video, I’m trying to keep the engine ON in the hydra, but it’s not seeming to work for me.
Here’s my client.lua code:
Citizen.CreateThread(function()
while true do
Wait(0)
SetVehicleJetEngineOn('hydra', true)
end
end)
So does this just activate the native once? And if so, does it need to be looped?
Remember, I’m not very good with lua so a basic example / explanation will go a LONG way!
Thanks!
P.S. the __resource.lua just has the resource_manifest AND the call for client.lua!
Please let me know!
Thanks!