Scripting/Client/Functions/Colour
Class with fields r g b a (0-255).
Syntax
Colour(r, g, b [, a])Arguments
- float r
- float g
- float b
- any a (optional)
Example
function onScriptLoad()
{
Colour( 255, 128, 0 );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- Vector
- VectorScreen
- GetDistance
- GetTok
- IsIn
- InPoly
- GetTime
- date
- GetVehicleModel
- GetVehicleName
- NewTimer
- HashTable
Section: Utility
Categories: Client functions | Utility