_SET_PLAYER_DISMOUNT_TIMESTAMP
dismountTimer gets called with the data from `_GET_PLAYER_DISMOUNT_TIMESTAMP`
Hash
0xA691C10054275290Runtime name
SetPlayerDismountTimestampNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PLAYER_DISMOUNT_TIMESTAMP(Ped mount, Player player, int dismountedTimestamp);Parameters
| Name | Type | Description |
|---|---|---|
mount | Ped | — |
player | Player | — |
dismountedTimestamp | int | — |
Returns void
Description
dismountTimer gets called with the data from _GET_PLAYER_DISMOUNT_TIMESTAMP
Usage
SetPlayerDismountTimestamp(mount, player, dismountedTimestamp)
-- always works, by hash
Citizen.InvokeNative(0xA691C10054275290, mount, player, dismountedTimestamp)JavaScript and C#
SetPlayerDismountTimestamp(mount, player, dismountedTimestamp);
// by hash
Citizen.invokeNative('0xA691C10054275290', mount, player, dismountedTimestamp);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
InvokeNativewith the hash — it always works.
Examples
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
endSee also
_GET_PLAYER_DISMOUNT_TIMESTAMPReturns dismounted timestamp
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.