Graphics::removeWorldTextureSwap

From RAGE Multiplayer Wiki
Revision as of 17:26, 22 April 2024 by Shr0x (talk | contribs) (Created page with "{{JSContainer| === Required Arguments === *'''oldTextureDict:''' string *'''oldTextureName:''' string ===Return value=== *'''void''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.graphics.removeWorldTextureSwap(oldTextureDict, oldTextureName); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> mp.game.graphics.createWorldTextureSwap('hw1_16_build', 'hw1_16_tpage_ro_01', 'gta5_bill', 'prop_billboard_02_dm'); mp.game.graphics.removeWorldTextur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

JavaScript Syntax


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');


See also