Car spawner help - 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: Car spawner help (
/showthread.php?tid=664573)
Car spawner help -
Lixyde - 04.03.2019
i have /v command to spawn a car with dialog.
Everything works, but the problem is that when i spawn a car or my friend spawns a car it always spawns in white color.
Everytime in white color? is that normal? Is there anyway to fix it if its not normal?
Here is the file:
Download link
Decryption key:
cVUE8hXasezAmjDtahu_I6zID3BWCx41enCWmwavgrE
Re: Car spawner help -
polygxn - 04.03.2019
https://sampwiki.blast.hk/wiki/CreateVehicle
Since every CreateVehicle got a 1-1 in their color parameters the vehicle going to be white. Set the parameter to -1 and the spawned vehicle gonna get its own color.
For example: CreateVehicle(441, x+1, y+1, z, a,
-1, -1, -1);