GTA Connected

General => Suggestions => Archive => Topic started by: bluesn0w on January 01, 2019, 10:39:45 PM

Title: [ADDED] player.invisibility
Post by: bluesn0w on January 01, 2019, 10:39:45 PM
a new ped property which allows (read & write) that controls the transparency of the player. (Client only)



e.g

localPlayer.invisiblity = 0

or you could have

localPlayer:setInvisibility(0)
Title: Re: player.invisibility
Post by: Lucy on January 03, 2019, 11:46:57 PM
that would be more like ped.alpha
Title: Re: player.invisibility
Post by: Vortrex on January 04, 2019, 12:06:41 AM
I agree with Lucy. Transparency for peds is a good idea, but I'd like to set the actual transparency amount.

ped.alpha would be a better fit.
Title: Re: player.invisibility
Post by: bluesn0w on January 19, 2019, 09:23:23 PM
Yeah, alpha is better.
Title: Re: player.invisibility
Post by: Vortrex on August 24, 2021, 03:24:17 AM
This has been added and works on all entities (see  https://wiki.gtaconnected.com/entity.alpha (https://wiki.gtaconnected.com/entity.alpha%22%3E%5Burl))

Topic locked.