PDA

View Full Version : Base vehicle colors


Steel_
16/08/2014, 07:18 PM
I have a base with 12 vehicles and i want to set their color to Purple (ID: 150) how could i do that? I've searched but all i have found is a command for car color change here are my vehicles

SetVehicleNumberPlate(CreateVehicle(562, -2089.9395, 1411.8036, 6.7405, -90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(411, -2090.1118, 1404.5175, 6.7405, -90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(541, -2089.6189, 1397.4689, 6.7405, -90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(451, -2089.7151, 1390.5157, 6.7405, -90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(475, -2089.5828, 1383.3337, 6.7405, -90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(603, -2089.6477, 1376.3440, 6.7405, -90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(560, -2066.8469, 1411.6882, 6.7405, 90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(559, -2066.4998, 1404.6700, 6.7405, 90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(576, -2066.5239, 1397.4716, 6.7405, 90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(567, -2066.6140, 1390.5541, 6.9094, 90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(402, -2066.4910, 1383.3292, 6.9094, 90.0000, 157, 13, 100),"STEEL");
SetVehicleNumberPlate(CreateVehicle(579, -2066.6563, 1376.3900, 6.9094, 90.0000, 157, 13, 100),"STEEL");

AdmCmd
16/08/2014, 07:24 PM
6th and 7th number in CreateVehicle are the colors. Simply replace "157" and "13" with the colors you want.

Steel_
16/08/2014, 07:32 PM
ok thx

AdmCmd
16/08/2014, 07:38 PM
Np :)