This function was added in SA-MP 0.3x and will not work in earlier versions!
Set the color of a vehicle in a player-textdraw model preview (if a vehicle is shown).
|playerid||The ID of the player whose player-textdraw to change.|
|text||The ID of the player's player-textdraw to change.|
|color1||The color to set the vehicle's primary color to.|
|color2||The color to set the vehicle's secondary color to.|
This function does not return any specific values.
The textdraw MUST use the font TEXT_DRAW_FONT_MODEL_PREVIEW and be showing a vehicle in order for this function to have effect.