@xMBx
Change row 714
Code:
if (PTB_AUTOROUNDS && (iOldTeam==UNASSIGNED) && roundCounter<=PTB_AUTOROUNDS && !(get_user_flags(id) & ADMIN_KICK))
to
Code:
if (PTB_AUTOROUNDS && (iOldTeam==UNASSIGNED) && roundCounter<=PTB_AUTOROUNDS && !(iNewTeam == SPECTATOR) )
And after row 66 you need to add
Code:
#define SPECTATOR 3
Then compile the ptb.sma
I have not tested this but it should work.
Please tell me if it works for you
Maybe this should be added by deafult as many players want to join spectator to record cheaters even right after a mapchange.
As it is now you have to be an admin with the kick flag to be able to join spectator directly after a mapchange
edit
If you dont want to force players autojoin a team then you have to set
amx_ptb autorounds 0
__________________