Results 1 to 7 of 7

Thread: Moving a player to spec

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Private
    Join Date
    Apr 2020
    Posts
    66
    Thanks
    28
    Thanked 14 Times in 13 Posts
    Thank you but the problem still exists. It shows me as spectator on the scoreboard but i can still see my score. So i guess it does not properly leave the team.
    Code:
    moveplayer(team)
    {
        self.pers["team"] = team;
        self.sessionteam = self.pers["team"];
        if (self.sessionstate!="dead") 
    	{
    		self.sessionstate = team;
    		self suicide();  
    		self [[level.spawnSpectator]]();	
    		self [[level.spectator]](); 
    		self notify("joined_spectators");		
    	}
    
    }
    shot0001.jpg
    shot0000.jpg

  2. The Following User Says Thank You to agribilos For This Useful Post:

    kung foo man (14th February 2021)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •