Skip to main content

Graphics::createWorldTextureSwap

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
  • newTextureDict: string
  • newTextureName: string

Return value​

  • void

Syntax​

mp.game.graphics.createWorldTextureSwap(oldTextureDict, oldTextureName, newTextureDict, newTextureName);

Example​

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