Raised This Month: $ Target: $400
 0% 

How to change player adminflags before he gets kicked by reserved slots plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gruzilkin
Junior Member
Join Date: Sep 2007
Old 12-31-2007 , 12:09   How to change player adminflags before he gets kicked by reserved slots plugin?
Reply With Quote #1

I'm writing a plugin that adds admin_reserved flag to players based on their IP addresses, but there's something strange going on with these adminflags...

http://forums.alliedmods.net/showthr...598#post568598

he're the link to my plugin thread and in the second post I describe the problem I have... does anybody know what's wrong with that code?
Gruzilkin is offline
BAILOPAN
Join Date: Jan 2004
Old 01-01-2008 , 14:05   Re: How to change player adminflags before he gets kicked by reserved slots plugin?
Reply With Quote #2

Hrm, good question. You need something that happens before OnClientPostAdminCheck(). Perhaps file a feature request for something that occurs in between PostAdminCheck and PreAdminCheck, so you can update the client with new flags.
__________________
egg
BAILOPAN is offline
Gruzilkin
Junior Member
Join Date: Sep 2007
Old 01-01-2008 , 16:23   Re: How to change player adminflags before he gets kicked by reserved slots plugin?
Reply With Quote #3

I've added Feature Request, but it's not in the issue list... I suppose there's some kind of moderation?
Gruzilkin is offline
Reply



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 18:00.


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