The Lab
AITRANSPORT native

TASK_EXIT_TRANSPORT

returns void1 parambuild 1207

Tasks a ped to exit a transport, with all options passed in the args structure.

Signature

C
void TASK_EXIT_TRANSPORT(Any* args); // 0xC273A5B8488F7838 b1207

Parameters

#NameType
1argsAny* (out pointer)

Facts

Facts about TASK_EXIT_TRANSPORT
Name
TASK_EXIT_TRANSPORT
Hash
0xC273A5B8488F7838
Namespace
Returns
void
Game build
1207

Examples

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

Lua
local args = Citizen.InvokeNative(0xC273A5B8488F7838, -- TASK_EXIT_TRANSPORT
  Citizen.PointerValueInt() -- Any* args
)
print(args)
JavaScript
const args = Citizen.invokeNative("0xC273A5B8488F7838", // TASK_EXIT_TRANSPORT
  Citizen.pointerValueInt() // Any* args
);
console.log(args)
C#
var argsArg = new OutputArgument();
Function.Call((Hash)0xC273A5B8488F7838, // TASK_EXIT_TRANSPORT
  argsArg // Any* args
);
int args = argsArg.GetResult<int>();
All AITRANSPORT natives

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