getPedCombatRange
GET_PED_COMBAT_RANGE0xF9D9F7F2DB8E2FA0The GTA V native GET_PED_COMBAT_RANGE of the PED namespace, as LS:MP client scripts call it: the global function getPedCombatRange, in JavaScript and in Lua.
getPedCombatRange(ped: Ped): numbergetPedCombatRange(ped: Ped): integerUsage
JavaScript
const result = getPedCombatRange(ped);Lua
local result = getPedCombatRange(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
int JavaScript number, Lua integerNotes
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
int GET_PED_COMBAT_RANGE(Ped ped)- Hash
0xF9D9F7F2DB8E2FA0