Native referenceRedM

_GET_ENTITY_ALBEDO

0x120376C23F019C6C ENTITY
FUNCTION SIGNATURE
BOOL _GET_ENTITY_ALBEDO(Entity entity, Any* albedoHash);
Property Value
Native Name _GET_ENTITY_ALBEDO
Hash 0x120376C23F019C6C
Return Type BOOL
Build 1207
Parameters entity (Entity), albedoHash (Any*)

Description: returns the albedo hash by carriable hash, use Citizen.pointerValueInt() as last parameter this native writes an albedo-related hash to the output pointer and returns whether the entity already has a valid albedo/material entry assigned if not it loads it and applies it using 0xDD03FC2089AD093C

Usage

Lua (Direct):

local result = GetEntityAlbedo(entity, albedoHash)

Lua (Hash):

local result = Citizen.InvokeNative(0x120376C23F019C6C, entity, albedoHash)
Back to ENTITY