_0x3F8387DB1B9F31B7
Used for HORSE_REVIVE
Hash
0x3F8387DB1B9F31B7Runtime name
N_0x3f8387db1b9f31b7NamespaceTASK
SideClient
NameHash only
Docs
Since build1207
Signature
BOOL _0x3F8387DB1B9F31B7(Any* scriptStruct, BOOL p1);Parameters
| Name | Type | Description |
|---|---|---|
scriptStruct | Any* | — |
p1 | BOOL | — |
Returns BOOL
Description
Used for HORSE_REVIVE
Usage
local retval, scriptStruct = N_0x3f8387db1b9f31b7(p1)
-- always works, by hash
local retval, scriptStruct = Citizen.InvokeNative(0x3F8387DB1B9F31B7, Citizen.PointerValueInt(), p1, Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, scriptStruct] = N_0x3f8387db1b9f31b7(p1);
// by hash
const [retval, scriptStruct] = Citizen.invokeNative('0x3F8387DB1B9F31B7', Citizen.pointerValueInt(), p1, Citizen.returnResultAnyway());var scriptStruct = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x3F8387DB1B9F31B7, scriptStruct, p1);
// scriptStruct.GetResult<int>()- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
Any*arguments are often structs. Build them with a DataView buffer and pass it with:Buffer()— see the examples and notes below.- This native has no known name, so the runtime exposes it only as
N_0x3f8387db1b9f31b7(if present in the client snapshot).InvokeNativewith the hash always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.