_0x152ED1B56E8F1F50
Hash
0x152ED1B56E8F1F50Runtime name
N_0x152ed1b56e8f1f50NamespaceAUDIO
SideClient
NameHash only
Docs
Since build1207
Signature
Ped _0x152ED1B56E8F1F50(const char* p0, int currentScriptedConvoLine);Parameters
| Name | Type | Description |
|---|---|---|
p0 | const char* | — |
currentScriptedConvoLine | int | — |
Returns Ped
Usage
local retval = N_0x152ed1b56e8f1f50(p0, currentScriptedConvoLine)
-- always works, by hash
local retval = Citizen.InvokeNative(0x152ED1B56E8F1F50, p0, currentScriptedConvoLine, Citizen.ResultAsInteger())JavaScript and C#
const retval = N_0x152ed1b56e8f1f50(p0, currentScriptedConvoLine);
// by hash
const retval = Citizen.invokeNative('0x152ED1B56E8F1F50', p0, currentScriptedConvoLine, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x152ED1B56E8F1F50, p0, currentScriptedConvoLine);- This native has no known name, so the runtime exposes it only as
N_0x152ed1b56e8f1f50(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.