setEntityFlagSuppressShadow
SET_ENTITY_FLAG_SUPPRESS_SHADOW0xD05A3241B9A86F19The 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.
setEntityFlagSuppressShadow(entity: Entity, toggle: boolean): voidsetEntityFlagSuppressShadow(entity: Entity, toggle: boolean)Usage
JavaScript
setEntityFlagSuppressShadow(entity, toggle);Lua
setEntityFlagSuppressShadow(entity, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | 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.
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