Skip to content

Commit

Permalink
Rename SetVehicleJetEngineOn -> SetVehicleKeepEngineOnWhenAbandoned (#…
Browse files Browse the repository at this point in the history
…970)

* Update SetVehicleJetEngineOn -> SetVehicleKeepEngineOnWhenAbandoned

* Update SetVehicleKeepEngineOnWhenAbandoned.md

Slight nitpick regarding parameter descriptions and taking the description out of fenced blocks so it doesn't show as imported documentation from nativedb.

---------

Co-authored-by: ammonia-cfx <[email protected]>
  • Loading branch information
Scaarus and 4mmonium authored Feb 13, 2024
1 parent c14d86d commit d85bb74
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
15 changes: 0 additions & 15 deletions VEHICLE/SetVehicleJetEngineOn.md

This file was deleted.

17 changes: 17 additions & 0 deletions VEHICLE/SetVehicleKeepEngineOnWhenAbandoned.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
ns: VEHICLE
aliases: ["0xB8FBC8B1330CA9B4", "_SET_VEHICLE_JET_ENGINE_ON"]
---
## SET_VEHICLE_KEEP_ENGINE_ON_WHEN_ABANDONED

```c
// 0xB8FBC8B1330CA9B4 0x51E0064F
void SET_VEHICLE_KEEP_ENGINE_ON_WHEN_ABANDONED(Vehicle vehicle, BOOL toggle);
```
Calling this native will keep a vehicle's engine running after exiting.
## Parameters
* **vehicle**: The vehicle handle.
* **toggle**: `true` to keep the engine on, otherwise `false`.

0 comments on commit d85bb74

Please sign in to comment.