Entity::alpha

From RAGE Multiplayer Wiki
Revision as of 14:36, 13 May 2017 by Kemperrr (talk | contribs)

This property using for setting or getting entity alpha.

Getter

  • Number

Setter

  • Number

Example

Server-Side
const alpha = player.alpha;
console.log(alpha) // return e.g. 255
player.alpha = 0; // make the player transparent

See Also