GET_PLAYER_PED
Hash
0x275F255ED201B937Runtime name
GetPlayerPedNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x43A66C31C68491C0Signature
Ped GET_PLAYER_PED(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns Ped
Usage
local retval = GetPlayerPed(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0x275F255ED201B937, player, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPlayerPed(player);
// by hash
const retval = Citizen.invokeNative('0x275F255ED201B937', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x275F255ED201B937, player);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.