RedM Natives

GET_TARGET_CHARACTER_NAME_SCRIPT_OVERRIDE_RAW_STRING

Hash0x755E08680F21EF30
Runtime nameGetTargetCharacterNameScriptOverrideRawString
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207

Signature

const char* GET_TARGET_CHARACTER_NAME_SCRIPT_OVERRIDE_RAW_STRING(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns const char*

Usage

Lua
local retval = GetTargetCharacterNameScriptOverrideRawString(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x755E08680F21EF30, ped, Citizen.ResultAsString())
JavaScript and C#
JavaScript
const retval = GetTargetCharacterNameScriptOverrideRawString(ped);

// by hash
const retval = Citizen.invokeNative('0x755E08680F21EF30', ped, Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0x755E08680F21EF30, ped);

Sources

alloc8or RDR3 NativeDB

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