View Single Post
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 02-26-2008 , 12:32   Re: Fair Team Balancer
Reply With Quote #4

Quote:
Originally Posted by tony2kownz View Post
heya, I tried looking through the source, I'm not sure how to change the immune flag from z to a

I'm very new to the source of SM plugins
Open the fairteambalancer.sp in a text editor.

Change the line
Code:
 
// Admin level that makes players immune
#define ADMINFLAG Admin_Cheats
To one from this list:

Code:
Admin_Reservation = 0, /**< Reserved slot */
Admin_Generic, /**< Generic admin abilities */
Admin_Kick, /**< Kick another user */
Admin_Ban, /**< Ban another user */
Admin_Unban, /**< Unban another user */
Admin_Slay, /**< Slay/kill/damage another user */
Admin_Changemap, /**< Change the map */
Admin_Convars, /**< Change basic convars */
Admin_Config, /**< Change configuration */
Admin_Chat, /**< Special chat privileges */
Admin_Vote, /**< Special vote privileges */
Admin_Password, /**< Set a server password */
Admin_RCON, /**< Use RCON */
Admin_Cheats, /**< Change sv_cheats and use its commands */
Admin_Root, /**< All access by default */
Admin_Custom1, /**< First custom flag type */
Admin_Custom2, /**< Second custom flag type */
Admin_Custom3, /**< Third custom flag type */
Admin_Custom4, /**< Fourth custom flag type */
Admin_Custom5, /**< Fifth custom flag type */
Admin_Custom6, /**< Sixth custom flag type */
/* --- */
Then recompile here
__________________
Extreme_One is offline