_GET_TEMP_PLAYER_HORSE
Hash
0xD3F7445CEA2E5035Runtime name
GetTempPlayerHorseNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Ped _GET_TEMP_PLAYER_HORSE(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns Ped
Usage
local retval = GetTempPlayerHorse(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0xD3F7445CEA2E5035, player, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetTempPlayerHorse(player);
// by hash
const retval = Citizen.invokeNative('0xD3F7445CEA2E5035', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xD3F7445CEA2E5035, player);- 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.