isPedheadshotValid
IS_PEDHEADSHOT_VALID0xA0A9668F158129A2The GTA V native IS_PEDHEADSHOT_VALID of the PED namespace, as LS:MP client scripts call it: the global function isPedheadshotValid, in JavaScript and in Lua.
isPedheadshotValid(id: number): booleanisPedheadshotValid(id: integer): booleanUsage
JavaScript
const result = isPedheadshotValid(id);Lua
local result = isPedheadshotValid(id)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
id | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Reference
- Namespace
- Ped PED
- In the game
BOOL IS_PEDHEADSHOT_VALID(int id)- Hash
0xA0A9668F158129A2