Skip to main content

Graphics::removeWorldTextureSwap

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

JavaScript​

Required Arguments​

  • oldTextureDict: string
  • oldTextureName: string

Return value​

  • void

Syntax​

mp.game.graphics.removeWorldTextureSwap(oldTextureDict, oldTextureName);

Example​

mp.game.graphics.createWorldTextureSwap('hw1_16_build', 'hw1_16_tpage_ro_01', 'gta5_bill', 'prop_billboard_02_dm');
mp.game.graphics.removeWorldTextureSwap('hw1_16_build', 'hw1_16_tpage_ro_01');