PedClient

isPedheadshotReady

IS_PEDHEADSHOT_READY0x7085228842B13A67

The 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.

SignatureJavaScript
isPedheadshotReady(id: number): boolean
SignatureLua
isPedheadshotReady(id: integer): boolean

Usage

JavaScript
const result = isPedheadshotReady(id);
Lua
local result = isPedheadshotReady(id)

Parameters

ParameterTypeJavaScriptLua
idintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Open in the interactive natives reference