_SET_PLAYER_DISMOUNT_TIMESTAMP
dismountTimer gets called with the data from `_GET_PLAYER_DISMOUNT_TIMESTAMP`
PEDBuild 1207
Signature
lua
SetPlayerDismountTimestamp(mount, PlayerId(), 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| 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
endDetails
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
