Checks if the vehicles fuel consumption has been disabled or not.
Used in: VCMod Main addon.
Shared Entity Vehicle:VC_isFuelConsumptionEnabled()
1. Boolean Vehicles fuel consumption enabled/disabled.
concommand.Add("vehicle_isfuelenabled", function() // Only checks data set entity:VC_fuelConsumptionSetEnabled() local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity if IsValid(ent) then if ent:VC_isFuelConsumptionEnabled() then print("Vehicle uses fuel.") else print("Vehicle does not use fuel.") end else print("Invalid entity.") end print("Toggled vehicles locks.") end)