IS_PED_A_PLAYER
Hash
0x12534C348C6CB68BRuntime name
IsPedAPlayerNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x12534C348C6CB68BSignature
BOOL IS_PED_A_PLAYER(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Usage
local retval = IsPedAPlayer(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x12534C348C6CB68B, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedAPlayer(ped);
// by hash
const retval = Citizen.invokeNative('0x12534C348C6CB68B', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x12534C348C6CB68B, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.