Originally Posted by
qwrtyp
yes, i tried using "self.killcam = true;" scriptresponse before dying and it works.
but if I created a hidden menu, like game ["menu_ingame_spectator"]? or a third team..
I meant this
PHP Code:
self iprintlnbold("^7You are a hidden spectator");
self.sessionstate = "spectator";
self.spectatorclient = -1;
self.archivetime = 0;
self allowSpectateTeam("allies", true);
self allowSpectateTeam("axis", true);
self allowSpectateTeam("freelook", true);
self allowSpectateTeam("none", true);
PHP Code:
self iprintlnbold("^7You are now added to the game");
self.sessionstate = "playing";
self.spectatorclient = -1;
self.archivetime = 0;
I can also use killcam like this:
PHP Code:
self.sessionstate = "spectator";
self.spectatorclient = int(attackerNum);
self.archivetime = int(time); // total time to watch
self.psoffsettime = offsetTime; // time to start watching (higher number is further from now)