SET_PED_AS_TEMP_PLAYER_HORSE
Hash
0x227B06324234FB09Runtime name
SetPedAsTempPlayerHorseNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL SET_PED_AS_TEMP_PLAYER_HORSE(Player player, Ped horse);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
horse | Ped | — |
Returns BOOL
Usage
local retval = SetPedAsTempPlayerHorse(player, horse)
-- always works, by hash
local retval = Citizen.InvokeNative(0x227B06324234FB09, player, horse, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = SetPedAsTempPlayerHorse(player, horse);
// by hash
const retval = Citizen.invokeNative('0x227B06324234FB09', player, horse, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x227B06324234FB09, player, horse);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.