Skip to content

PlayerTextDrawGetPreviewVehicleColours #1071

@Dante-1337

Description

@Dante-1337

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions