Scripting/Squirrel/Functions/Player.SetAlpha
This wiki is using an old backup from 2020
Some information may be old/missing
Example
function onPlayerCommand( player, cmd, text )
{
if ( cmd == "invisible" )
{
player.SetAlpha(0,0)
}
else if ( cmd == "visible" )
{
player.SetAlpha(255,255)
}
}