_CREATE_SWATCH_TEXTURE_DICT
Hash
0x3D084D5568FB4028Runtime name
CreateSwatchTextureDictNamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _CREATE_SWATCH_TEXTURE_DICT(int slots);Parameters
| Name | Type | Description |
|---|---|---|
slots | int | — |
Returns BOOL
Usage
local retval = CreateSwatchTextureDict(slots)
-- always works, by hash
local retval = Citizen.InvokeNative(0x3D084D5568FB4028, slots, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = CreateSwatchTextureDict(slots);
// by hash
const retval = Citizen.invokeNative('0x3D084D5568FB4028', slots, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x3D084D5568FB4028, slots);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.