RedM Natives

HAS_PTFX_ASSET_LOADED

Hash0x13A3F30A9ED0BC31
Runtime nameHasPtfxAssetLoaded
NamespaceSTREAMING
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xCA7D9B86ECA7481B

Signature

BOOL HAS_PTFX_ASSET_LOADED();

Returns BOOL

Usage

Lua
local retval = HasPtfxAssetLoaded()

-- always works, by hash
local retval = Citizen.InvokeNative(0x13A3F30A9ED0BC31, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = HasPtfxAssetLoaded();

// by hash
const retval = Citizen.invokeNative('0x13A3F30A9ED0BC31', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x13A3F30A9ED0BC31);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.