GraphicsClient

unpatchDecalDiffuseMap

UNPATCH_DECAL_DIFFUSE_MAP0xB7ED70C49521A61D

The GTA V native UNPATCH_DECAL_DIFFUSE_MAP of the GRAPHICS namespace, as LS:MP client scripts call it: the global function unpatchDecalDiffuseMap, in JavaScript and in Lua.

SignatureJavaScript
unpatchDecalDiffuseMap(decalType: number): void
SignatureLua
unpatchDecalDiffuseMap(decalType: integer)

Usage

JavaScript
unpatchDecalDiffuseMap(decalType);
Lua
unpatchDecalDiffuseMap(decalType)

Parameters

ParameterTypeJavaScriptLua
decalTypeintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void UNPATCH_DECAL_DIFFUSE_MAP(int decalType)
Hash
0xB7ED70C49521A61D
Formerly
_UNDO_DECAL_TEXTURE_OVERRIDE

Open in the interactive natives reference