open.mp
open.mp copied to clipboard
PlayerTextDrawGetPreviewVehicleColours
trafficstars
Describe the bug Unable to GET the colors of the car in a textdraw UNLESS using PlayerTextDrawSetPreviewVehicleColours beforehand.
To Reproduce Steps to reproduce the behavior:
- Create a textdraw and display a vehicle model WITHOUT using PlayerTextDrawSetPreviewVehicleColours.
- Try to get the color randomly generated without using the PlayerTextDrawGetPreviewVehicleColours function.
Expected behavior I expected this to work since the vehicle in the textdraw already gets shown with random colors when using PlayerTextDrawSetPreviewModel to display a car.
Release version OMP v1.4.0.2779