Skip to main content

PedSetAlpha

Description

Changes the transparency of a ped.
Only works on the player.

function PedSetAlpha(ped, alpha, state) --[[ ... ]] end

Parameters

  • ped: integer - The ped to change the alpha of.
  • alpha: integer - The alpha amount from 0-255.
  • state: boolean - Whether to enable or disable alpha.

Return Values

...

Example

...