The Lab
AITRANSPORT native

_SET_TRANSPORT_EXIT_BLEND_RATIO

returns void2 paramsbuild 1207

Sets the blend ratio ratio used when ped exits a transport, affecting how fast the exit animation plays out.

Signature

C
void _SET_TRANSPORT_EXIT_BLEND_RATIO(Ped ped, float ratio); // 0x8C8371EDFAF014A0 b1207

Parameters

#NameType
1pedPed
2ratiofloat

Facts

Facts about _SET_TRANSPORT_EXIT_BLEND_RATIO
Name
_SET_TRANSPORT_EXIT_BLEND_RATIO
Hash
0x8C8371EDFAF014A0
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x8C8371EDFAF014A0, -- _SET_TRANSPORT_EXIT_BLEND_RATIO
  PlayerPedId(), -- Ped ped
  0.0 -- float ratio
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x8C8371EDFAF014A0", // _SET_TRANSPORT_EXIT_BLEND_RATIO
  PlayerPedId(), // Ped ped
  0.0 // float ratio
);
C#
Function.Call((Hash)0x8C8371EDFAF014A0, // _SET_TRANSPORT_EXIT_BLEND_RATIO
  API.PlayerPedId(), // Ped ped
  0.0f // float ratio
);
All AITRANSPORT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.