RedM Natives

_SET_AI_CAN_USE_TRANSPORT

Hash0x67F7CEAC2391E114
Runtime nameSetAiCanUseTransport
NamespaceAITRANSPORT
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_AI_CAN_USE_TRANSPORT(Entity transportEntity, BOOL state);

Parameters

NameTypeDescription
transportEntityEntity—
stateBOOL—

Returns void

Usage

Lua
SetAiCanUseTransport(transportEntity, state)

-- always works, by hash
Citizen.InvokeNative(0x67F7CEAC2391E114, transportEntity, state)
JavaScript and C#
JavaScript
SetAiCanUseTransport(transportEntity, state);

// by hash
Citizen.invokeNative('0x67F7CEAC2391E114', transportEntity, state);
C#
Function.Call((Hash)0x67F7CEAC2391E114, transportEntity, state);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.