ObjectClient

setEntityFlagSuppressShadow

SET_ENTITY_FLAG_SUPPRESS_SHADOW0xD05A3241B9A86F19

The GTA V native SET_ENTITY_FLAG_SUPPRESS_SHADOW of the OBJECT namespace, as LS:MP client scripts call it: the global function setEntityFlagSuppressShadow, in JavaScript and in Lua.

SignatureJavaScript
setEntityFlagSuppressShadow(entity: Entity, toggle: boolean): void
SignatureLua
setEntityFlagSuppressShadow(entity: Entity, toggle: boolean)

Usage

JavaScript
setEntityFlagSuppressShadow(entity, toggle);
Lua
setEntityFlagSuppressShadow(entity, toggle)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
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.

Sets entity+38 to C (when false) or 0xFF3f (when true)

Reference

Namespace
Object OBJECT
In the game
void SET_ENTITY_FLAG_SUPPRESS_SHADOW(Entity entity, BOOL toggle)
Hash
0xD05A3241B9A86F19
Introduced
Game build 1180 legacy numbering

Open in the interactive natives reference