Entity::alpha

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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