kac_allow in v1.2

Discuss things relating to this site or the community at large here.
mechanic^
Posts: 2
Joined: Mon Jun 28, 2010 12:17 pm

Re: kac_allow in v1.2

Post by mechanic^ »

Sorted a no sockets version, thanks for the help, and thanks for the great plugin. Css is a better place due to your work :)
lambda
Posts: 8
Joined: Fri Oct 01, 2010 5:19 pm

Re: kac_allow in v1.2

Post by lambda »

Fullsteel wrote:Is there a way to edit the source and actually allow a certain person ourselves?
:mrgreen: yes there is, just add

Code: Select all

if ( INVALID_ADMIN_ID == GetUserAdmin(client))
{
}
around the code that kicks/bans the user
Last edited by lambda on Mon Oct 04, 2010 9:08 pm, edited 2 times in total.
Kigen
Site Admin
Posts: 1496
Joined: Sat Jun 07, 2008 11:08 am
Location: Right behind you....
Contact:

Re: kac_allow in v1.2

Post by Kigen »

lambda wrote:
Fullsteel wrote:Is there a way to edit the source and actually allow a certain person ourselves?
:mrgreen: yes there is, just add

Code: Select all

if ( INVALID_ADMIN_ID != GetUserAdmin(client))
{
}
around the code that kicks/bans the user
That would make it so that KAC only bans/kicks admins. :lol:
Image
lambda
Posts: 8
Joined: Fri Oct 01, 2010 5:19 pm

Re: kac_allow in v1.2

Post by lambda »

:shock: omg srry i fail...
Post Reply