setPedSeeingRange
SET_PED_SEEING_RANGE0xF29CF591C4BF6CEEThe GTA V native SET_PED_SEEING_RANGE of the PED namespace, as LS:MP client scripts call it: the global function setPedSeeingRange, in JavaScript and in Lua.
setPedSeeingRange(ped: Ped, value: number): voidsetPedSeeingRange(ped: Ped, value: number)Usage
JavaScript
setPedSeeingRange(ped, value);Lua
setPedSeeingRange(ped, value)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
value | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_SEEING_RANGE(Ped ped, float value)- Hash
0xF29CF591C4BF6CEE