RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _SET_PLAYER_DISMOUNT_TIMESTAMP

_SET_PLAYER_DISMOUNT_TIMESTAMP

dismountTimer gets called with the data from `_GET_PLAYER_DISMOUNT_TIMESTAMP`

PEDBuild 1207

Signature

lua
SetPlayerDismountTimestamp(mount, PlayerId(), 0)
-- returns void

Parameters

NameTypeDescription
Ped—
Player—
int—

Usage

Named call
SetPlayerDismountTimestamp(mount, PlayerId(), 0)
InvokeNative
Citizen.InvokeNative(0xA691C10054275290, mount, PlayerId(), 0)
lua 1
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

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details