SA-MP Forums Archive
help +REP - 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 +REP (/showthread.php?tid=581159)



help +REP - noamch1997 - 11.07.2015

stock LoadCar21()
{
new carid21;
carid21 = AddStaticVehicle(565,-1948.1505,266.7123,35.2788,75.8205,92,83);
AddVehicleComponent(carid21,1046);
AddVehicleComponent(carid21,1049);
AddVehicleComponent(carid21,1053);
AddVehicleComponent(carid21,1010);
AddVehicleComponent(carid21,1073);
ChangeVehiclePaintjob(carid21,1);
}

OnFilterScriptInit

LoadCar21()


-----------

but when I go to -1948.1505,266.7123,35.2788 I just see the normal 565 car and no the new one.
help


Re: help +REP - Michael B - 11.07.2015

Do you mean that you see only the unmodded vehicle, without components?
As far as I can see, the components are compatible with your vehicle (Flash), and the code seems to be correct. I guess the problem is located somewhere else.