_IS_BASE_A_PERSISTENT_CHARACTER
Returns true if handle refers to a persistent character.
Signature
BOOL _IS_BASE_A_PERSISTENT_CHARACTER(ScrHandle handle); // 0x716F17F8A0419F95 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | handle | ScrHandle |
Facts
| Name | _IS_BASE_A_PERSISTENT_CHARACTER |
|---|---|
| Hash | 0x716F17F8A0419F95 |
| 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(0x716F17F8A0419F95, -- _IS_BASE_A_PERSISTENT_CHARACTER
0 -- ScrHandle handle
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x716F17F8A0419F95", // _IS_BASE_A_PERSISTENT_CHARACTER
0, // ScrHandle handle
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x716F17F8A0419F95, // _IS_BASE_A_PERSISTENT_CHARACTER
0 // ScrHandle handle
);Related MISC natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.