RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. REMOVE_TEXTURE

REMOVE_TEXTURE

Removes the specified texture and remove it from the ped. Unlike `0x6BEFAA907B076859` which only marks the texture as "can be reused" (and keeps it until will be reused), this function deletes it right away. Can fix some sync issues. `DOES_TEXTURE_EXIST` can be use to wait until fully unloaded by game ```lua RemoveTexture(textureId) while DoesTextureExist(textureId) do Wait(0) end ```

CFX

Signature

lua
RemoveTexture(0)
-- returns void

Parameters

NameTypeDescription
inttexture id created by `0xC5E7204F322E49EB`.

Usage

lua
RemoveTexture(0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details