SetFuelConsumptionState
DocsSetFuelConsumptionState(state)Description
Turns on and off fuel consumption in all vehicles operated by a player. NPC operated vehicles will not consume fuel to avoid traffic disruptions.
The default Gta5 behaviour is fuel consumption turned off.
Parameters
| Name | Type | Description |
|---|---|---|
state | BOOL | True to turn on. False to turn off. |
Returns
voidThis native does not return a value.