GetVehicleColour? - 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: GetVehicleColour? (
/showthread.php?tid=261718)
GetVehicleColour? -
Homerman - 14.06.2011
Hi.
Is there any way to get vehicle's colour by a function? I didn't script like 2 years, so I don't know the new possibilities of SA:MP 0.3, I'm just asking if is it possible to SOMEHOW get it.
Thanks.
( I mean - player has a car, and the function will tell me what colour the car is. )
Re: GetVehicleColour? -
Benjo - 14.06.2011
I don't think there is such a function
I hope somebody can prove me wrong though!
You could always create your own function that will keep track of every vehicle on the server, and keep a record of the colour(s) on vehicle spawn/whenever it is changed.
Re: GetVehicleColour? -
Wesley221 - 14.06.2011
Might looking for this?
http://forum.sa-mp.com/showthread.ph...etvehiclecolor
Re: GetVehicleColour? -
Benjo - 14.06.2011
Quote:
Originally Posted by Wesley221
|
I love you, yes I do, gonna spend all my money on you.
Re: GetVehicleColour? -
Homerman - 15.06.2011
Quote:
Originally Posted by Benjo
I love you, yes I do, gonna spend all my money on you.
|
That^
Thanks a lot!!