BG_IS_EXITFLAG_SET
Returns true if the exit flag has been set for the current background script.
Signature
BOOL BG_IS_EXITFLAG_SET(); // 0x2238EC3EC631AB1F b1207Parameters
This native takes no parameters.
Facts
| Name | BG_IS_EXITFLAG_SET |
|---|---|
| Hash | 0x2238EC3EC631AB1F |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x2238EC3EC631AB1F) -- BG_IS_EXITFLAG_SET
if result then
-- ...
endconst result = Citizen.invokeNative("0x2238EC3EC631AB1F", // BG_IS_EXITFLAG_SET
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x2238EC3EC631AB1F); // BG_IS_EXITFLAG_SETRelated SCRIPT natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.