PedClient

registerPedheadshotHires

REGISTER_PEDHEADSHOT_HIRES0xBA8805A1108A2515

The GTA V native REGISTER_PEDHEADSHOT_HIRES of the PED namespace, as LS:MP client scripts call it: the global function registerPedheadshotHires, in JavaScript and in Lua.

SignatureJavaScript
registerPedheadshotHires(ped: Ped): number
SignatureLua
registerPedheadshotHires(ped: Ped): integer

Usage

JavaScript
const result = registerPedheadshotHires(ped);
Lua
local result = registerPedheadshotHires(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

int JavaScript number, Lua integer

Reference

Namespace
Ped PED
In the game
int REGISTER_PEDHEADSHOT_HIRES(Ped ped)
Hash
0xBA8805A1108A2515
Introduced
Game build 877 legacy numbering
Formerly
_REGISTER_PEDHEADSHOT_3

Open in the interactive natives reference