RedM Natives

GET_CURRENT_SCRIPTED_CONVERSATION_LINE

Hash0x480357EE890C295A
Runtime nameGetCurrentScriptedConversationLine
NamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x480357EE890C295A

Signature

int GET_CURRENT_SCRIPTED_CONVERSATION_LINE(const char* p0);

Parameters

NameTypeDescription
p0const char*—

Returns int

Usage

Lua
local retval = GetCurrentScriptedConversationLine(p0)

-- always works, by hash
local retval = Citizen.InvokeNative(0x480357EE890C295A, p0, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetCurrentScriptedConversationLine(p0);

// by hash
const retval = Citizen.invokeNative('0x480357EE890C295A', p0, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x480357EE890C295A, p0);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.