setEntityNoweapondecals
SET_ENTITY_NOWEAPONDECALS0x2C2E3DC128F44309The GTA V native SET_ENTITY_NOWEAPONDECALS of the ENTITY namespace, as LS:MP client scripts call it: the global function setEntityNoweapondecals, in JavaScript and in Lua.
setEntityNoweapondecals(entity: Entity, p1: boolean): voidsetEntityNoweapondecals(entity: Entity, p1: boolean)Usage
JavaScript
setEntityNoweapondecals(entity, p1);Lua
setEntityNoweapondecals(entity, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
p1 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Entity ENTITY
- In the game
void SET_ENTITY_NOWEAPONDECALS(Entity entity, BOOL p1)- Hash
0x2C2E3DC128F44309- Formerly
_SET_ENTITY_DECALS_DISABLED