Raised This Month: $ Target: $400
 0% 

Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 04-27-2007 , 12:35   Re: Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
Reply With Quote #10

@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
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/

Last edited by lantz69; 04-27-2007 at 13:00.
lantz69 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode