# GRAPHICS::_PEDSHOT_GENERATE_PERSONA_PHOTO

- **Hash:** `0xD9C24F53631F2372`
- **Namespace:** GRAPHICS
- **Runtime name (Lua/JS):** `PedshotGeneratePersonaPhoto`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/GRAPHICS/_PEDSHOT_GENERATE_PERSONA_PHOTO

## Signature

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

## Parameters

- `texture` (`const char*`)
- `ped` (`Ped`)
- `playerSlot` (`int`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = PedshotGeneratePersonaPhoto(texture, ped, playerSlot)

-- always available, by hash
local retval = Citizen.InvokeNative(0xD9C24F53631F2372, texture, ped, playerSlot, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = PedshotGeneratePersonaPhoto(texture, ped, playerSlot);

// by hash
const retval = Citizen.invokeNative('0xD9C24F53631F2372', texture, ped, playerSlot, Citizen.returnResultAnyway());
```

### C#

```csharp
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.*
