_PEDSHOT_GENERATE_PERSONA_PHOTO
Hash
0xD9C24F53631F2372Runtime name
PedshotGeneratePersonaPhotoNamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _PEDSHOT_GENERATE_PERSONA_PHOTO(const char* texture, Ped ped, int playerSlot);Parameters
| Name | Type | Description |
|---|---|---|
texture | const char* | — |
ped | Ped | — |
playerSlot | int | — |
Returns BOOL
Usage
local retval = PedshotGeneratePersonaPhoto(texture, ped, playerSlot)
-- always works, by hash
local retval = Citizen.InvokeNative(0xD9C24F53631F2372, texture, ped, playerSlot, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = PedshotGeneratePersonaPhoto(texture, ped, playerSlot);
// by hash
const retval = Citizen.invokeNative('0xD9C24F53631F2372', texture, ped, playerSlot, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.