PDA

View Full Version : [HELP]How To Change Color On Vehicles On PPC Trucking??


Veeco
30/11/2012, 12:18 PM
Hey ;) The tittle said it...
How To Change Color On Vehicles In PPC Trucking?
Its Not AddStaticVehicle(playerid, and that.

park4bmx
30/11/2012, 12:56 PM
http://wiki.sa-mp.com/wiki/ChangeVehicleColor
this is what your looking for ?

Veeco
30/11/2012, 01:02 PM
No :/ I Mean So The Vehicles Is 1 Color All The Time :P

Windrush
30/11/2012, 01:07 PM
you mean command?

Lordzy
30/11/2012, 01:12 PM
Did you mean that all vehicles must have 1 custom color? Well then you can loop through Max vehicles and change their color to what you wish.

#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
for(new i; i< MAX_VEHICLES; i++)
{
//ChangeVehicleColor(i, 0, 1); //Edit this line.
}
return 1;
}
#else
public OnGameModeInit()
{
for(new i; i< MAX_VEHICLES; i++)
{
//ChangeVehicleColor(i, 0, 1); //Edit!
}
return 1;
}
#endif