Could you add to sourcebans 1.5 native, which provides getting ImmunityLevel by AdminID (from database)?
Something like this:
Code:
/**
* Get SourceBans admin immunity level from adminId
*
* @param adminID The adminID of the admin
* @return value The immunity level of the admin with adminID
*/
native SB_GetAdminImmunity(adminID);
It will be very usefull for third-party plugins. (for my SourceComms for example
)
P.S. In the distant future (sourcebans 2.0) it may be like "native SB_GetAdminImmunity(adminID, serverID=currentServerID)" which returns AdminImmunity of AdminID on serverID (or current server if not specified) (If sourcebans 2.0 will provide different server rights (flags, immunity) for different servers)