toColour
Function Server and Client
![]()
Online and Offline
int toColour(int red, int green, int blue, [ int alpha = 255 ])
Parameters
| 1) | int | red | The red colour component. |
| 2) | int | green | The green colour component. |
| 3) | int | blue | The blue colour component. |
| 4) | int | alpha | Optional, defaults to 255. The alpha colour component. |
Return
| int | A colour represented as one integer. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.
Related
Server Related
collectAllGarbage
getConsole
gta.ssvBridgeEnabled
inPoly
platform
toColour
Client Related
collectAllGarbage
debugMode
getConsole
getRandomSkin
gta.gameSpeed
gta.getRandomSkin
gta.getSurfaceTraction
gta.processLineOfSight
gta.setDefaultInteriors
gta.setSurfaceTraction
gta.setWindSpeed
gta.showHelpBox
gta.tickCount
inPoly
platform
toColour