SA-MP Forums Archive
AddStaticVehicle without colors? - 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: AddStaticVehicle without colors? (/showthread.php?tid=511810)



AddStaticVehicle without colors? - GrOobY - 07.05.2014

Well i mapped cars with MTA and converted with ffs converter in lines have colors but in samp not why?

PHP код:
AddStaticVehicle(492,2499.3000000,-1683.1000000,13.3000000,104.0000000,29,110); //Greenwood
AddStaticVehicle(492,2506.3000000,-1678.5000000,13.3000000,139.9970000,29,110); //Greenwood
AddStaticVehicle(492,2509.3000000,-1672.5000000,13.3000000,167.9930000,29,110); //Greenwood
AddStaticVehicle(550,2509.5000000,-1666.3000000,13.4951500,189.9920000,124,28); //Sunrise
AddStaticVehicle(492,2492.5000000,-1683.9000000,13.2000000,87.9970000,29,110); //Greenwood
AddStaticVehicle(550,2508.3999000,-1657.7000000,13.5000000,175.9870000,29,110); //Sunrise
AddStaticVehicle(550,2501.5000000,-1655.2000000,13.4000000,243.9850000,29,110); //Sunrise
AddStaticVehicle(550,2484.8000000,-1653.3000000,13.4000000,267.9840000,29,110); //Sunrise
AddStaticVehicle(550,2471.5000000,-1653.9000000,13.3000000,267.9840000,29,110); //Sunrise
AddStaticVehicle(566,2014.0000000,-1130.7000000,25.0000000,268.0000000,148,64); //Tahoma
AddStaticVehicle(566,2005.2000000,-1130.7000000,25.3000000,267.9950000,148,64); //Tahoma
AddStaticVehicle(566,1997.7000000,-1130.8000000,25.5000000,267.9950000,148,64); //Tahoma
AddStaticVehicle(566,1990.6000000,-1130.7000000,25.7000000,267.9950000,148,64); //Tahoma
AddStaticVehicle(566,2013.7000000,-1141.3000000,25.0000000,267.9950000,148,64); //Tahoma
AddStaticVehicle(566,2003.4000000,-1141.3000000,25.3000000,267.9950000,148,64); //Tahoma
AddStaticVehicle(566,1994.6000000,-1141.1000000,25.6000000,267.9950000,148,64); //Tahoma
AddStaticVehicle(566,1986.2000000,-1141.1000000,25.7000000,267.9950000,148,64); //Tahoma
AddStaticVehicle(566,1991.2000000,-1092.0000000,24.7000000,353.9950000,148,64); //Tahoma
AddStaticVehicle(566,1995.0000000,-1092.4000000,24.7000000,353.9900000,148,64); //Tahoma
AddStaticVehicle(566,1998.6000000,-1093.0000000,24.7000000,353.9900000,148,64); //Tahoma
AddStaticVehicle(566,2002.6000000,-1093.6000000,24.7000000,353.9900000,148,64); //Tahoma
AddStaticVehicle(566,2005.8000000,-1094.2000000,24.7000000,353.9900000,148,64); //Tahoma
AddStaticVehicle(566,2009.4000000,-1094.9000000,24.6000000,353.9900000,148,64); //Tahoma
AddStaticVehicle(566,2013.0000000,-1095.5000000,24.6000000,353.9900000,148,64); //Tahoma
AddStaticVehicle(566,2016.7000000,-1096.5000000,24.6000000,353.9900000,148,64); //Tahoma
AddStaticVehicle(566,2020.3000000,-1098.0000000,24.6000000,353.9900000,148,64); //Tahoma
AddStaticVehicle(467,1681.0000000,-2113.2000000,13.4000000,0.0000000,196,166); //Oceanic
AddStaticVehicle(467,1687.4000000,-2118.2000000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1696.7000000,-2118.2000000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1704.9000000,-2118.2000000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1712.9000000,-2118.2000000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1721.0000000,-2118.3000000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1729.7000000,-2117.8999000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1738.1000000,-2117.8999000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1745.7000000,-2117.8999000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1754.4000000,-2117.7000000,13.3000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1763.5000000,-2117.6001000,13.3000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1771.9000000,-2117.8000000,13.3000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1781.5000000,-2118.0000000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1789.8000000,-2118.0000000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1798.7000000,-2118.1001000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(467,1808.0000000,-2118.0000000,13.4000000,270.0000000,196,166); //Oceanic
AddStaticVehicle(466,1687.3000000,-2107.5000000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1695.0000000,-2107.5000000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1702.8000000,-2107.5000000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1710.1000000,-2107.5000000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1719.0000000,-2107.6001000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1727.0000000,-2107.7000000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1734.9000000,-2107.7000000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1742.7000000,-2107.6001000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1751.0000000,-2107.6001000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1759.5000000,-2107.8000000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1775.7000000,-2107.3999000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1784.6000000,-2107.3999000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1792.4000000,-2107.8000000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1800.6000000,-2107.5000000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(466,1808.9000000,-2107.6001000,13.5000000,270.0000000,196,166); //Glendale
AddStaticVehicle(579,2468.3000000,-1251.1000000,26.1000000,276.0000000,14,12); //Huntley
AddStaticVehicle(579,2475.8999000,-1250.9000000,28.1000000,273.9980000,14,12); //Huntley
AddStaticVehicle(579,2482.8999000,-1250.8000000,30.0000000,275.9990000,14,12); //Huntley
AddStaticVehicle(579,2489.2000000,-1250.7000000,31.7000000,275.9990000,14,12); //Huntley
AddStaticVehicle(579,2498.0000000,-1251.4000000,34.1000000,275.9990000,14,12); //Huntley 
btw when samp started i see 6 vehicles loaded? i have here alot/
I added this under OnGameModeInit


Re: AddStaticVehicle without colors? - TheSimpleGuy - 07.05.2014

Quote:
Originally Posted by GrOobY
Посмотреть сообщение
btw when samp started i see 6 vehicles loaded? i have here alot/
I added this under OnGameModeInit
6 vehicles loaded was meant for 6 vehicle types loaded.


Re: AddStaticVehicle without colors? - GrOobY - 07.05.2014

oh okay but what about colors?

P.S thanks for reply


Re: AddStaticVehicle without colors? - TheSimpleGuy - 07.05.2014

What do you mean colors? Didn't get it.


Re: AddStaticVehicle without colors? - Nathan_Taylor - 07.05.2014

Quote:
Originally Posted by GrOobY
Посмотреть сообщение
oh okay but what about colors?

P.S thanks for reply
When you convert over using FFS, it doesn't do the right colors. Use this guide and change the colors
https://sampwiki.blast.hk/wiki/Vehicle_Color_IDs


Re: AddStaticVehicle without colors? - GrOobY - 07.05.2014

that still not working


Re: AddStaticVehicle without colors? - Nathan_Taylor - 07.05.2014

What do you mean it doesn't work? That is how you do colors.

If you want to make a police car black and white, then use the colors from that guide I showed you. The last two numbers are the colors, therefore a black/white police car would be
pawn Код:
AddStaticVehicle(596,2499.3000000,-1683.1000000,13.3000000,104.0000000,0,1); //Greenwood



Re: AddStaticVehicle without colors? - GrOobY - 07.05.2014

no colors in cars greenwood its white one of sunrise red etc


Re: AddStaticVehicle without colors? - thomaswilliams - 07.05.2014

It is impossible to have "No colors" but you can change them, the last 2 sets of numbers


Re: AddStaticVehicle without colors? - GrOobY - 07.05.2014

THomas i set it like script you can see it and in samp its all white in pawno its not having errors