SA-MP Forums Archive
Colors 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Colors Help (/showthread.php?tid=87863)



Colors Help - Quead - 22.07.2009

Hi, can help me with two problems

1. : i want to have all players white color
2. : Car color where is cal color from here AddStaticVehicle(410,-2061.4685,-114.1186,34.9877,179.6916,112,1);



....sorry for my bad english.


Re: Colors Help - refshal - 22.07.2009

1.

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
SetPlayerColor(i, 0xFFFFFFFF);



Re: Colors Help - CAR - 22.07.2009

https://sampwiki.blast.hk/wiki/AddStaticVehicle

AddStaticVehicle(modelid, Floatpawn_x, Floatpawn_y,Floatpawn_z, Float:angle, color1, color2)

modelid The Vehicle ID for the vehicle.

Floatpawn_X The X-coordinate for the vehicle.

Floatpawn_Y The Y-coordinate for the vehicle.

Floatpawn_Z The Z-coordinate for the vehicle.

Float:angle Direction of vehicle - angle.

color1 The primary color ID.

color2 The secondary color ID.



Re: Colors Help - Quead - 22.07.2009

Thank you