random vehicle colors
#1

is there a function for random paintjob for cars?? like pay 'n' spray ?
________
Cl77
Reply
#2

There may be a include or something familiar where you can find it. Else you could make your own using random
Reply
#3

I only know that you can set car colours with this:

pawn Код:
new Car = AddStaticVehicle(id, coцrdinates);

ChangeVehicleColour(vehicleid, color1, color2);
Reply
#4

pawn Код:
new vehicle;
new Float:rand[][1] =
{
  {0},
  {1},
  {2},
  {4},
  {8}
};
///////////////////////////////////////////////////////////////
vehicle = AddStaticVehicle(modelid, x, y, z, rot, -1, -1);
ChangeVehiclePaintjob(vehicle,rand);
It should work.. not tested altough.
Reply
#5

Sorry, I posted a wrong code...
Reply
#6

nvm
________
Ferrari F1 642 Specifications
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)