Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ptahhotep's Team Balancer 1.8b3 (Immunity & alive trans)
#1
NOTE!!!
Amxmodx 1.70 or higher is required as this version uses the new autochanneling system for hudmessages

Features
Immunity for admins (Controlled by CVARS)
Transfers player alive without killing them.
Weapons and equipment aren't lost in transfers.
Immunity for the VIP in as_* maps


Compiler options in the ptb.sma line 58
This is for the VIP immunity
// Uncomment for support immunity on VIP
//#define PTB_VIP_IMMUNITY



CVARS (All are in configs/ptb.cfg)
ptb_saychat <0>
0 for disabling all ptb chat messages
1 for enabling all ptb chat messages (Default)
2 Transfers will show as hudmessage and in chat
3 Shows all messages in chat and transfers in hudtext

ptb_transfer_type <1>
1 PTBs original transfertype (Default)
2 a little more agressive than 1
3 the most agressive transfer


ptb_switch_immunity <0>
0 admins with immunity will be switched.
1 admins with immunity will be protected from switches. (Default)

ptb_limitjoin_immunity <0>
0 admins with immunity will not be able to choose any team they want.
1 admins with immunity can choose any team they want. (Default)

ptb_immunity_level "o"
Here you set which flag an admin must have to be immune against transfers (Default o ADMIN_LEVEL_C)

ptb_access_level "l"
Here you set which flag an admin must have to be able to change PTB settings (Default l ADMIN_RCON)

ptb_show_in_hlsw <0>
If you want to see Transfers made in the HLSW chat have this set to 1

Installation instructions
1. Copy the new ptb.cfg to addons/amxmodx/configs/
2. Copy ptb.sma to addons/amxmodx/scripting/ and compile it
3. Copy the compiled file ptb.amxx from the compiled folder to the plugins folder.
4. Add a line ptb.amxx to your amxmodx plugins.ini

5. Edit ptb.cfg to suit your needs (Good settings for a 20 player server):


amx_ptb maxsize 11 // maximum team size per team
amx_ptb maxdiff 2 // maximum team size difference

or

amx_ptb maxsize 12 // maximum team size per team
amx_ptb maxdiff 4 // maximum team size difference

The forumla to make it fit your server:
amx_ptb maxsize should be set at maxplayers/2 + amx_ptb maxdiff/2
NOTE: Certain maps like nuke,train, militia and italy only has 10 spawns/team.

6. Enable the required module cstrike in modules.ini or PTB wont load properly


DONE

Good Luck!


Download link: <!-- m --><a class="postlink" href="http://cs.u-s.ro/download/cs/ptb-1">http://cs.u-s.ro/download/cs/ptb-1</a><!-- m -->[1].8b3.zip
Daca o freci aiurea, intra-ti in mana!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)