OnVehicleRespray - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnVehicleRespray (
/showthread.php?tid=253823)
OnVehicleRespray -
Master_FM - 08.05.2011
Hi,
i wanted to use the Tuning stations and everythink works fine.
But only the respray is a bit shit... This callback is called everytime if the car changes the color...
But in the tuning station the color changes and it shows you first before you have to buy it...
Is there a chance to ask the color of a vehicle before it enters the tuning garage?
I thought about to check all colors of the cars at the start of the server but this is too strange for the
first time
Maybe you all know a better idea
Re: OnVehicleRespray -
eDz0r - 08.05.2011
GetVehicleColor ?
Re: OnVehicleRespray -
Seven_of_Nine - 08.05.2011
Yes I think.. OnVehicleRespray > Open a dialog > OnDialogResponse > ChangeVehicleColor
and you've got it. I don't have much time now to script it..
Re: OnVehicleRespray -
Master_FM - 08.05.2011
To script it thats no problem... But thanks for the tipps