isPedheadshotReady
IS_PEDHEADSHOT_READY0x7085228842B13A67The GTA V native IS_PEDHEADSHOT_READY of the PED namespace, as LS:MP client scripts call it: the global function isPedheadshotReady, in JavaScript and in Lua.
isPedheadshotReady(id: number): booleanisPedheadshotReady(id: integer): booleanUsage
JavaScript
const result = isPedheadshotReady(id);Lua
local result = isPedheadshotReady(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_READY(int id)- Hash
0x7085228842B13A67