(problem) Load vehicle color - 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: (problem) Load vehicle color (
/showthread.php?tid=554108)
(problem) Load vehicle color -
rOps - 02.01.2015
Hi all, I can't normally load vehicle color, this is my code:
Код HTML:
mysql_fetch_field_row(Query, "Color1"); Color[0] = strval(Query);
mysql_fetch_field_row(Query, "Color2"); Color[1] = strval(Query);
new vehicleid = CreateVehicle(Modelis, vPos[0], vPos[1], vPos[2] + 3, vPos[3], Color[0], Color[1], -1);
This is print:
LOADED COLOR: 1 color: 44, 2 color: 0
but vehicle color is a black..