The Lab
SCRIPT native

HAVE_ALL_CHILD_SCRIPTS_TERMINATED

returns BOOL1 parambuild 1207

Based on its name and signature, here is our best reading:

Returns true if all child scripts launched by the current script have terminated; p0 is undocumented.

Signature

C
BOOL HAVE_ALL_CHILD_SCRIPTS_TERMINATED(int p0); // 0x380FFA15B72408FB b1207

Parameters

#NameType
1p0int

Facts

Facts about HAVE_ALL_CHILD_SCRIPTS_TERMINATED
Name
HAVE_ALL_CHILD_SCRIPTS_TERMINATED
Hash
0x380FFA15B72408FB
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x380FFA15B72408FB, -- HAVE_ALL_CHILD_SCRIPTS_TERMINATED
  0 -- int p0
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x380FFA15B72408FB", // HAVE_ALL_CHILD_SCRIPTS_TERMINATED
  0, // int p0
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x380FFA15B72408FB, // HAVE_ALL_CHILD_SCRIPTS_TERMINATED
  0 // int p0
);
All SCRIPT natives

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