Add new Natives

Would be nice, if you could add new natives. For example them:

static BOOL _HAS_VEHICLE_ROCKET_BOOST(Vehicle vehicle) { return invoke<BOOL>(0x36D782F68B309BDA, vehicle); }
static BOOL _IS_VEHICLE_ROCKET_BOOST_ACTIVE(Vehicle vehicle) { return invoke<BOOL>(0x3D34E80EED4AE3BE, vehicle); }
static void _SET_VEHICLE_ROCKET_BOOST_ACTIVE(Vehicle vehicle, BOOL active) { invoke<Void>(0x81E1552E35DC3839, vehicle, active); }
static void _SET_VEHICLE_ROCKET_BOOST_REFILL_TIME(Vehicle vehicle, float seconds) { invoke<Void>(0xE00F2AB100B76E89, vehicle, seconds); }
static BOOL _HAS_VEHICLE_JUMPING_ABILITY(Vehicle vehicle) { return invoke<BOOL>(0x9078C0C5EF8C19E9, vehicle); }
static BOOL _HAS_VEHICLE_PARACHUTE(Vehicle vehicle) { return invoke<BOOL>(0xBC9CFF381338CB4F, vehicle); }
static BOOL _CAN_VEHICLE_PARACHUTE_BE_ACTIVATED(Vehicle vehicle) { return invoke<BOOL>(0xA916396DF4154EE3, vehicle); }
static void _SET_VEHICLE_PARACHUTE_ACTIVE(Vehicle vehicle, BOOL active) { invoke<Void>(0x0BFFB028B3DD0A97, vehicle, active); }

Your request has been noted and is being tracked by our development group.

2 Likes

Thank you very much. I am looking forward to it :smile:

Add the native PLAYER::_SET_SWIM_SPEED_MULTIPLIER(player, 1.0) and PLAYER::_SET_MOVE_SPEED_MULTIPLIER(player, 1.0)

You really shouldn’t use old resources… These names are outdated, the natives you are searching for are the following:

SetRunSprintMultiplierForPlayer(player, multiplier)
SetSwimMultiplierForPlayer(player, multiplier)

1 Like

Does not work for me … :frowning:

Try to update your resource manifest version : https://wiki.fivem.net/wiki/Resource_manifest_versions

No its good it work now ^^ but now its PlaySoundFromEntity(-1, “Woosh_01”, ped, “FBI_HEIST_ELEVATOR_SHAFT_DEBRIS_SOUNDS”, 0.0, 0.0) and StartParticleFxNonLoopedOnPedBone(“scr_carsteal4_tyre_spiked”, ped, 0.0,-0.25,-0.07, 0.0, 0.0, 0.0, -1, 1, 0, 0, 0) who does not work O_o

Not all sounds seem to work, sadly.
Have not figured out what causes that