_SET_PLAYER_MOUNT_STATE_ACTIVE
Name could potentially be inaccurate.
Hash
0xDF93973251FB2CA5Runtime name
SetPlayerMountStateActiveNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PLAYER_MOUNT_STATE_ACTIVE(Player player, BOOL active);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
active | BOOL | — |
Returns void
Description
Name could potentially be inaccurate.
Used in Script Function HORSE_SETUP_PLAYER_HORSE_ATTRIBUTES (p1 = true)
_SET_PLAYER_L* - _SET_PLAYER_M*
Usage
SetPlayerMountStateActive(player, active)
-- always works, by hash
Citizen.InvokeNative(0xDF93973251FB2CA5, player, active)JavaScript and C#
SetPlayerMountStateActive(player, active);
// by hash
Citizen.invokeNative('0xDF93973251FB2CA5', player, active);Function.Call((Hash)0xDF93973251FB2CA5, player, active);- 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.