The Lab
AITRANSPORT native

_SET_TRANSPORT_USAGE_FLAGS

returns void2 paramsbuild 1207

Sets the usage flags of transportEntity to flags.

Signature

C
void _SET_TRANSPORT_USAGE_FLAGS(Entity transportEntity, int flags); // 0xE2487779957FE897 b1207

Parameters

#NameType
1transportEntityEntity
2flagsint

Facts

Facts about _SET_TRANSPORT_USAGE_FLAGS
Name
_SET_TRANSPORT_USAGE_FLAGS
Hash
0xE2487779957FE897
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(0xE2487779957FE897, -- _SET_TRANSPORT_USAGE_FLAGS
  PlayerPedId(), -- Entity transportEntity
  0 -- int flags
)
JavaScript
Citizen.invokeNative("0xE2487779957FE897", // _SET_TRANSPORT_USAGE_FLAGS
  PlayerPedId(), // Entity transportEntity
  0 // int flags
);
C#
Function.Call((Hash)0xE2487779957FE897, // _SET_TRANSPORT_USAGE_FLAGS
  API.PlayerPedId(), // Entity transportEntity
  0 // int flags
);
All AITRANSPORT natives

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