_CREATE_SWATCH_TEXTURE_DICT
Creates a texture dictionary with slots slots for generated clothing swatches, returning true on success.
Signature
BOOL _CREATE_SWATCH_TEXTURE_DICT(int slots); // 0x3D084D5568FB4028 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | slots | int |
Facts
| Name | _CREATE_SWATCH_TEXTURE_DICT |
|---|---|
| Hash | 0x3D084D5568FB4028 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x3D084D5568FB4028, -- _CREATE_SWATCH_TEXTURE_DICT
0 -- int slots
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x3D084D5568FB4028", // _CREATE_SWATCH_TEXTURE_DICT
0, // int slots
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x3D084D5568FB4028, // _CREATE_SWATCH_TEXTURE_DICT
0 // int slots
);Related GRAPHICS natives
- _DESTROY_SWATCH_TEXTURE_DICT
- _GENERATE_SWATCH_TEXTURE
- _GENERATE_SWATCH_TEXTURE_DIRECTLY
- _IS_TEXTURE_IN_DICT
- BEGIN_CREATE_LOW_QUALITY_COPY_OF_PHOTO
- CREATE_CHECKPOINT_WITH_NAMEHASH
- CREATE_TRACKED_POINT
- GET_STATUS_OF_CREATE_LOW_QUALITY_COPY_OF_PHOTO
- QUEUE_OPERATION_TO_CREATE_SORTED_LIST_OF_PHOTOS
- _CHANGE_PHOTO_MODE_CONTRAST
- _CHANGE_PHOTO_MODE_EXPOSURE
- _ADD_BLOOD_POOL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.