_0xAFA14F98327791CE
Hash
0xAFA14F98327791CERuntime name
N_0xafa14f98327791ceNamespaceNETWORK
SideClient
NameHash only
Docs
Since build1207
Signature
BOOL _0xAFA14F98327791CE(Any* sessionRequestId);Parameters
| Name | Type | Description |
|---|---|---|
sessionRequestId | Any* | — |
Returns BOOL
Usage
local retval, sessionRequestId = N_0xafa14f98327791ce(sessionRequestId)
-- always works, by hash
local retval, sessionRequestId = Citizen.InvokeNative(0xAFA14F98327791CE, Citizen.PointerValueIntInitialized(sessionRequestId), Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, sessionRequestId] = N_0xafa14f98327791ce(sessionRequestId);
// by hash
const [retval, sessionRequestId] = Citizen.invokeNative('0xAFA14F98327791CE', Citizen.pointerValueIntInitialized(sessionRequestId), Citizen.returnResultAnyway());var sessionRequestId = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xAFA14F98327791CE, sessionRequestId);
// sessionRequestId.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
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_0xafa14f98327791ce(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.