Namespace: CFXAPI set: clientGame: rdr3
CREATE_RUNTIME_TEXTURE_FROM_DUI_HANDLE
// CreateRuntimeTextureFromDuiHandle
long CREATE_RUNTIME_TEXTURE_FROM_DUI_HANDLE(long txd, char* txn, char* duiHandle);
Parameters:- txd:
A handle to the runtime TXD to create the runtime texture in.
- txn:
The name for the texture in the runtime texture dictionary.
- duiHandle:
The DUI handle returned from GET_DUI_HANDLE.
Returns: The runtime texture handle.
Creates a runtime texture from a DUI handle.
WARNING! Natives in the CFX namespace are taken from FiveM. Most of the client-side or server-side game state related natives are NOT AVAILABLE in RedM!