_GENERATE_SWATCH_TEXTURE_DIRECTLY
Hash
0x646ED1A1D28487DFRuntime name
GenerateSwatchTextureDirectlyNamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _GENERATE_SWATCH_TEXTURE_DIRECTLY(int slot, Any p1);Parameters
| Name | Type | Description |
|---|---|---|
slot | int | — |
p1 | Any | — |
Returns void
Description
Example: https://pastebin.com/tTgpER9A
Usage
GenerateSwatchTextureDirectly(slot, p1)
-- always works, by hash
Citizen.InvokeNative(0x646ED1A1D28487DF, slot, p1)JavaScript and C#
GenerateSwatchTextureDirectly(slot, p1);
// by hash
Citizen.invokeNative('0x646ED1A1D28487DF', slot, p1);Function.Call((Hash)0x646ED1A1D28487DF, slot, p1);- 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.