TTT_Spectator_Deathmatch icon indicating copy to clipboard operation
TTT_Spectator_Deathmatch copied to clipboard

Spectate Players in Specdm

Open derekstephen opened this issue 6 years ago • 1 comments

Is there any way to spectate players in first person or third person that are in specdm?

We've been having hackers recently use cheats while in specdm, but sometimes it isn't easy to tell by joining specdm.

derekstephen avatar Jan 01 '19 11:01 derekstephen

Currently there's no way to spectate a ghost.

But you can add the following code before sv_specdm_overrides.lua#L209: meta.oldSpectate = meta.Spectate Then you can change your spectating code (for ULX here) from :Spectate(mode) to :oldSpectate(mode). The modes are listed here: https://wiki.garrysmod.com/page/Enums/OBS_MODE

I'm looking into a proper way to do this.

(There needs to be a overwrite as otherwise bots are 'floating' through the air in SpecDM)

MinIsMin avatar Jan 03 '19 18:01 MinIsMin