SetBarTimerBarLabelColor

From GT-MP
Jump to: navigation, search
SetBarTimerBarLabelColor
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Sets a timer's bar label color.

Dialog-warning.png Note: This feature is currently not in the API, or is currently not accurate on the wiki due to upcoming API changes. New API functions and changes will be released with the next update.

Syntax

In Javascript
Client-Side Function

API.setBarTimerBarLabelColor(BarTimerBar timerBar, int red, int green, int blue);

Required Arguments

  • timerBar parameter input should be in BarTimerBar type.
  • red parameter input should be in int type.
  • green parameter input should be in int type.
  • blue parameter input should be in int type.

Usage example

In Javascript
Client-Side Function

API.setBarTimerBarLabelColor(BarTimerBar timerBar, int red, int green, int blue);

Colored bartimer.png

References