View Single Post
Old 03-06-2008, 11:28 PM   #48
Crazycarl
D&A Member
Wiki Team
Fortress Forever Staff
 
Crazycarl's Avatar
 
Join Date: Apr 2007
Posts Rated Helpful 31 Times
1. try function player_switchteam (player_entity, curteam, newteam)

You'll have to find out which value stands for spectator (my guess would be 4) and test newteam for that value. There might be problems if the player tries to change to spectator but can't (like if the server won't allow it), so look out for that.

2. Have you tried using bspzip instead?
Crazycarl is offline   Reply With Quote