_IS_TEXTURE_VALID
Hash
0x31DC8D3F216D8509Runtime name
IsTextureValidNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_TEXTURE_VALID(int textureId);Parameters
| Name | Type | Description |
|---|---|---|
textureId | int | — |
Returns BOOL
Description
femga rdr3_discoveries · research notes
// 0x31DC8D3F216D8509
BOOL _HAS_PED_TEXTURE_CREATED(int pedTextureId)Usage
local retval = IsTextureValid(textureId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x31DC8D3F216D8509, textureId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsTextureValid(textureId);
// by hash
const retval = Citizen.invokeNative('0x31DC8D3F216D8509', textureId, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x31DC8D3F216D8509, textureId);- 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
alloc8or RDR3 NativeDB · femga rdr3_discoveries
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.