fivem
fivem copied to clipboard
feat(natives/vehicle): implement getter/setter for vehicle flags
Goal of this PR
Implement natives to set and get vehicle flags. This is the PR of @kams3 with the addition of the setter.
How is this PR achieving the goal
By reading the specific offset in this signature: 48 85 C0 74 3C 8B 80 ? ? ? ? C1 E8 0F, which exposes vehicle flags on the vehicle.
This rely on https://github.com/citizenfx/fivem-docs/pull/480
This PR applies to the following area(s)
FiveM
Successfully tested on
Game builds: 3095
Platforms: Windows
Checklist
- [x] Code compiles and has been tested successfully.
- [x] Code explains itself well and/or is documented.
- [x] My commit message explains what the changes do and what they are for.
- [x] No extra compilation warnings are added by these changes.