isPedAPlayer
IS_PED_A_PLAYER0x12534C348C6CB68BThe GTA V native IS_PED_A_PLAYER of the PED namespace, as LS:MP client scripts call it: the global function isPedAPlayer, in JavaScript and in Lua.
isPedAPlayer(ped: Ped): booleanisPedAPlayer(ped: Ped): booleanUsage
JavaScript
const result = isPedAPlayer(ped);Lua
local result = isPedAPlayer(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL IS_PED_A_PLAYER(Ped ped)- Hash
0x12534C348C6CB68B