SA-MP Forums Archive
[HELP]How To Change Color On Vehicles On PPC Trucking?? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]How To Change Color On Vehicles On PPC Trucking?? (/showthread.php?tid=396320)



[HELP]How To Change Color On Vehicles On PPC Trucking?? - Veeco - 30.11.2012

Hey The tittle said it...
How To Change Color On Vehicles In PPC Trucking?
Its Not AddStaticVehicle(playerid, and that.


Re: [HELP]How To Change Color On Vehicles On PPC Trucking?? - park4bmx - 30.11.2012

https://sampwiki.blast.hk/wiki/ChangeVehicleColor
this is what your looking for ?


Re: [HELP]How To Change Color On Vehicles On PPC Trucking?? - Veeco - 30.11.2012

No :/ I Mean So The Vehicles Is 1 Color All The Time :P


Re: [HELP]How To Change Color On Vehicles On PPC Trucking?? - Windrush - 30.11.2012

you mean command?


Re: [HELP]How To Change Color On Vehicles On PPC Trucking?? - Lordzy - 30.11.2012

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.
pawn Код:
#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