Vehicle spawn always black - 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: Vehicle spawn always black (
/showthread.php?tid=373259)
Vehicle spawn always black -
kbalor - 29.08.2012
I have a save/load vehicle it works perfectly good when I enter a vehicle in the one I created using (CreateVehicle) it load the same vehicle colour and that was right.. I have already #GetVehicleColor inlcude.
But when I do /veh - vehicle menu. And I choose one let say Internus then it colour is red. After than I will be using /saveveh. Now I have save my infernus with the color Red. Lastly If I do /loadveh (internus) it loads in Color Black, that must be Red.
I'm not sure but I thinks it's in the Vehicle Menu.
Re: Vehicle spawn always black -
lamarr007 - 29.08.2012
You have to search for GetVehicleColor include..
Re: Vehicle spawn always black -
kbalor - 29.08.2012
I already have that include. I must define GetVehicleColor after spawning a vehicle. But i don't know where I will put GetVehicleColor in my Vehicle Spawn menu.
Re: Vehicle spawn always black -
TouR - 29.08.2012
Show us the code that creates the vehicle