How about:bdbodger wrote:well that bit of code still need work the command self stufftext "spectator" does put you in to spectator mode that is what is annoying about it . You will have to rechoose gun and team you can't just click the fire button and respawn .
Code: Select all
local.cur_team = local.player.dmteam
// do camera stuff here, setting to spectator mode, etc.
wait 5 // seconds, or whatever
local.player join_team local.cur_teamI don't suppose the above code will work in Free-For-All mode since the documentation states that dmteam will return "freeforall" in that mode, instead of a team name.
I guess you might still have to re-select your weapon after that.
So "spectator" goes into the spectator mode where you can move around, not the spectator mode where you follow a player - does anyone know how to go into the mode where you follow a player?In this mode you can move like in noclip mode
In normal spectator mode you can look around freely, so I guess it's because of the viewangles statement. Do you agree?but you can't freelook either because of the viewangles statement or just that fact you are in spectator mode
I posted some code earlier in this thread which isn't easy, but will tell you with reasonable accuracy (I think) who shot you.I didn't know of an easy way to find who shot you are at least what direction you where shot from .
Regards,
David



