RedM Natives

_PEDSHOT_GENERATE_PERSONA_PHOTO

Hash0xD9C24F53631F2372
Runtime namePedshotGeneratePersonaPhoto
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _PEDSHOT_GENERATE_PERSONA_PHOTO(const char* texture, Ped ped, int playerSlot);

Parameters

NameTypeDescription
textureconst char*—
pedPed—
playerSlotint—

Returns BOOL

Usage

Lua
local retval = PedshotGeneratePersonaPhoto(texture, ped, playerSlot)

-- always works, by hash
local retval = Citizen.InvokeNative(0xD9C24F53631F2372, texture, ped, playerSlot, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = PedshotGeneratePersonaPhoto(texture, ped, playerSlot);

// by hash
const retval = Citizen.invokeNative('0xD9C24F53631F2372', texture, ped, playerSlot, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xD9C24F53631F2372, texture, ped, playerSlot);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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