RedM Natives

_SET_PLAYER_DISMOUNT_TIMESTAMP

dismountTimer gets called with the data from `_GET_PLAYER_DISMOUNT_TIMESTAMP`

Hash0xA691C10054275290
Runtime nameSetPlayerDismountTimestamp
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

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

Parameters

NameTypeDescription
mountPed—
playerPlayer—
dismountedTimestampint—

Returns void

Description

VORPCORE RDR3natives

dismountTimer gets called with the data from _GET_PLAYER_DISMOUNT_TIMESTAMP

Usage

Lua
SetPlayerDismountTimestamp(mount, player, dismountedTimestamp)

-- always works, by hash
Citizen.InvokeNative(0xA691C10054275290, mount, player, dismountedTimestamp)
JavaScript and C#
JavaScript
SetPlayerDismountTimestamp(mount, player, dismountedTimestamp);

// by hash
Citizen.invokeNative('0xA691C10054275290', mount, player, dismountedTimestamp);
C#
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

LUA · VORPCORE RDR3natives
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

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.