# PED::_SET_PLAYER_DISMOUNT_TIMESTAMP

- **Hash:** `0xA691C10054275290`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPlayerDismountTimestamp`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described with examples
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_SET_PLAYER_DISMOUNT_TIMESTAMP

## Signature

```c
void _SET_PLAYER_DISMOUNT_TIMESTAMP(Ped mount, Player player, int dismountedTimestamp);
```

## Parameters

- `mount` (`Ped`)
- `player` (`Player`)
- `dismountedTimestamp` (`int`)

## Returns

`void`

## Description

*Source: VORPCORE RDR3natives*

dismountTimer gets called with the data from `_GET_PLAYER_DISMOUNT_TIMESTAMP`

## Usage

### Lua

```lua
SetPlayerDismountTimestamp(mount, player, dismountedTimestamp)

-- always available, by hash
Citizen.InvokeNative(0xA691C10054275290, mount, player, dismountedTimestamp)
```

### JavaScript

```js
SetPlayerDismountTimestamp(mount, player, dismountedTimestamp);

// by hash
Citizen.invokeNative('0xA691C10054275290', mount, player, dismountedTimestamp);
```

### C#

```csharp
Function.Call((Hash)0xA691C10054275290, mount, player, dismountedTimestamp);
```

- 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.

## Examples

*Source: VORPCORE RDR3natives*

```lua
local size = 15
local struct = DataView.ArrayBuffer(size * 8)
struct:SetInt32(0, size)
local numLoot = Citizen.InvokeNative(0xB29C553BA582D09E, struct:Buffer(), `a_c_cow`, 0, 2, Citizen.ResultAsInteger())
if (numLoot > 0) then
for i = 1, numLoot do
local hash = struct:GetInt32(i * 8)
print(("i: %d: loot: %d"):format(i, hash))
end
end
```

## See also

- [PED::_GET_PLAYER_DISMOUNT_TIMESTAMP](https://natives.borderlinerp.com/natives/PED/_GET_PLAYER_DISMOUNT_TIMESTAMP.md) — Returns dismounted timestamp

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
