alt.Player.local.visible
Get the player's visbility.
Syntax
readonly visible: boolean;
Real World Example
const isLocalVisible = alt.Player.local.visible;
console.log(`Is Visible? ${isLocalVisible}`);
alt.Player.local can also be a player instance from server