VEHICLE

SET_SPECIAL_FLIGHT_MODE_TARGET_RATIO

0x438B3D7CA026FE91

Signature

// VEHICLE
void SET_SPECIAL_FLIGHT_MODE_TARGET_RATIO(Vehicle vehicle, float percentage)

Parameters

Type Name
Vehicle vehicle
float percentage

Return type void

Build 1290

Former names

  • _SET_VEHICLE_TRANSFORM_STATE
  • _SET_VEHICLE_HOVER_TRANSFORM_PERCENTAGE

Documentation

According to decompiled scripts this should work with the `deluxo` and `oppressor2` vehicles. I've only seen this work for `deluxo` though, can't figure out what it's supposed to do on `oppressor2`. For the deluxo: - Set `state` to `0.0`: Fully transform to a 'road' vehicle (non-hover mode). - Set `state` to `1.0`: Fully transform to a 'flying' vehicle (hover mode). If you set it to something like 0.5, then something [weird happens](https://streamable.com/p6wmr), you end up in some 50% hover mode, 50% not hover mode. This doesn't need to be called every tick, just once and the vehicle will transform to that state at the usual transform speed. It'll just stop transforming when it reaches the state you provided. Once this native is used then players will just be able to hit the vehicle transform key to toggle the transformation cycle; it won't block users from using the key.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.