setPedAoBlobRendering
SET_PED_AO_BLOB_RENDERING0x2B5AA717A181FB4CThe GTA V native SET_PED_AO_BLOB_RENDERING of the PED namespace, as LS:MP client scripts call it: the global function setPedAoBlobRendering, in JavaScript and in Lua.
setPedAoBlobRendering(ped: Ped, toggle: boolean): voidsetPedAoBlobRendering(ped: Ped, toggle: boolean)Usage
JavaScript
setPedAoBlobRendering(ped, toggle);Lua
setPedAoBlobRendering(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Enable/disable ped shadow (ambient occlusion).
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_AO_BLOB_RENDERING(Ped ped, BOOL toggle)- Hash
0x2B5AA717A181FB4C