{"hash":"0x1582C7F2","ns":"CFX","name":"REMOVE_TEXTURE","slug":"REMOVE_TEXTURE","official":true,"named":true,"luaName":"RemoveTexture","game":"cfx","apiset":"client","returnType":"void","params":[{"name":"textureId","type":"int","description":"texture id created by `0xC5E7204F322E49EB`."}],"summary":"Removes the specified texture and remove it from the ped.","descriptions":[{"source":"cfx","format":"md","body":"Removes the specified texture and remove it from the ped.\nUnlike `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\n\n```lua\nRemoveTexture(textureId)\nwhile DoesTextureExist(textureId) do \n    Wait(0)\nend\n```"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/REMOVE_TEXTURE","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/REMOVE_TEXTURE.md","snippets":{"lua":"RemoveTexture(textureId)","luaInvoke":"Citizen.InvokeNative(0x1582c7f2, textureId)","js":"RemoveTexture(textureId);","jsInvoke":"Citizen.invokeNative('0x1582c7f2', textureId);","csharp":"Function.Call((Hash)0x1582c7f2, textureId);","notes":[]}}