Vehicle::setLiveryTexture: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 April 2024

  • curprev 18:2118:21, 23 April 2024Shr0x talk contribs 787 bytes +787 Created page with "{{ClientsideJsFunction}} {{JSContainer| Set a custom texture livery to the given vehicle. === Required Params === *'''textureDict:''' {{RageType|string}} *'''textureName:''' {{RageType|string}} === Return Value === *'''void''' {{RageType|void}} ==Syntax== <pre> vehicle.setLiveryTexture(textureDict, textureName); </pre> ==Example== {{ClientsideCode| <syntaxhighlight lang="javascript"> const vehicle = mp.vehicles.atRemoteId(0); if (!vehicle || !mp.vehicles.exists(vehicl..."