PedClient

setPedAoBlobRendering

SET_PED_AO_BLOB_RENDERING0x2B5AA717A181FB4C

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

SignatureJavaScript
setPedAoBlobRendering(ped: Ped, toggle: boolean): void
SignatureLua
setPedAoBlobRendering(ped: Ped, toggle: boolean)

Usage

JavaScript
setPedAoBlobRendering(ped, toggle);
Lua
setPedAoBlobRendering(ped, toggle)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean

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

Open in the interactive natives reference