Skip to content

function setPlayerVisualAlpha (client-side)

Available since version: 0.1.10

This function will set player visual alpha.
Visual alpha is the transparency effect which was used on Quarchodron in singleplayer game.

Declaration

bool setPlayerVisualAlpha(int id, float alpha)

Parameters

  • int id: the player id.
  • float alpha: the alpha value in range <0.0, 1.0>.

Returns bool

toggle true if visual effect was successfully set, otherwise false.