-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tweak(natives-decl): add SET_VEHICLE_CURRENT_GEAR and NEXT_GEAR declarations #2404
base: master
Are you sure you want to change the base?
Conversation
Can you change the commit title to something like: |
|
I'll handle this, as it partially relates to: #2003 (comment) |
i dont think it relates to that this is a separate thing |
Much of |
well i can tell you they do work , because i tested them |
Doc implementation seems fine, now for underlying implementation @gottfriedleibniz might know better than I do; so as they stated, they should handle the rest 🙂
That's great, but structure changes between builds can cause memory related issues nonetheless (such as invalid data, crashes from invalid pointer access, etc), offsets that were valid in the past, might no longer be. So it's important to check the underlying implementation to make sure these things don't happen. |
any updates on this has anyone checked the natives |
Goal of this PR
This will allow developers to create manual transmissions more easily with in FiveM.
How is this PR achieving the goal
Adds two natives SetVehicleCurrentGear(vehicle, gear) and SetVehicleNextGear(vehicle, nextGear) that exist with in VehicleExtraNatives.cpp but were never added.
This PR applies to the following area(s)
FiveM, Vehicles
Successfully tested on
Should work on any build.
Checklist