Closed zakarybk closed 1 year ago
Untested ^
The current implementation isn't amazing in terms of performance since it'll be trying to read a network var every frame even if it doesn't exist.
Branch default-cross includes these changes now + an untested performance improvement for it. (no longer checking every frame, only when they switch weapons, to test if they're a ghost or not since they are given a ghost specific weapon)
Labelled with won't fix because it's one small addon I've only seen one person use.
The addon in question - https://github.com/Tommy228/TTT_Spectator_Deathmatch
Where it draws the crosshair - https://github.com/Tommy228/TTT_Spectator_Deathmatch/blob/master/lua/weapons/weapon_ghost_base.lua#L153
How it handles ADS - https://github.com/Tommy228/TTT_Spectator_Deathmatch/blob/master/lua/weapons/weapon_ghost_base.lua#L370
Should be simple enough other than hiding their crosshair.