Перейти к содержанию

Vehicle::setLiveryTexture

Материал из RAGE MP Wiki Archive
Версия от 18:21, 23 апреля 2024; imported>Shr0x (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...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Client-Side
Function

Ошибка создания миниатюры: Не удаётся сохранить эскиз по месту назначения JavaScript



Set a custom texture livery to the given vehicle.

Required Params

  • textureDict: string
  • textureName: string

Return Value

  • void void

Syntax

vehicle.setLiveryTexture(textureDict, textureName);

Example

Client-Side


See also