Raised This Month: $344 Target: $400
 86%   Almost there!

[REQ] admin slot with server full


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
THC
Member
Join Date: May 2009
Old 09-07-2009 , 11:03   [REQ] admin slot with server full
Reply With Quote #1

i need plugin slot with aut rezerved slot so players can join 18/18
and when admins try tu connect on server tu kick 1 players any or if is possible tu kick 1 players with high lag or same with lowest score .

thanks

sory for my english
THC is offline
soolt
BANNED
Join Date: Aug 2009
Location: Lithuania
Old 09-07-2009 , 11:24   Re: [REQ] admin slot with server full
Reply With Quote #2

I need too.Great idea ;]
soolt is offline
Send a message via Skype™ to soolt
mplayerexe
Senior Member
Join Date: Dec 2008
Old 09-07-2009 , 11:25   Re: [REQ] admin slot with server full
Reply With Quote #3

not possible
__________________
mplayerexe is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 09-07-2009 , 11:55   Re: [REQ] admin slot with server full
Reply With Quote #4

Are you sure it isn't possible?

Maybe it is?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
THC
Member
Join Date: May 2009
Old 09-07-2009 , 12:13   Re: [REQ] admin slot with server full
Reply With Quote #5

"isn't possible?"

why not?

Last edited by THC; 09-07-2009 at 12:20.
THC is offline
Trafalete
Senior Member
Join Date: Sep 2008
Location: Bucuresti ( Printre nori
Old 09-07-2009 , 15:08   Re: [REQ] admin slot with server full
Reply With Quote #6

wow...just use hidden reserved slots...that should help a bit
__________________


Trafalete is offline
THC
Member
Join Date: May 2009
Old 09-07-2009 , 16:31   Re: [REQ] admin slot with server full
Reply With Quote #7

but this server is not on my computers if i reserve 1 slot and i hide i have 17 slots and 9 vs 8 players is not solution
for my server now i dont have plugin for admin_slot but is veri hard tu connect on my server is full al time
i dont need tu hide same slots i need plugin for slot admins with server full

sory for my bad english

Last edited by THC; 09-07-2009 at 16:35.
THC is offline
THC
Member
Join Date: May 2009
Old 09-08-2009 , 10:15   Re: [REQ] admin slot with server full
Reply With Quote #8

i need tu know is possible tu make this plugin or not ?????????
THC is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 09-08-2009 , 10:43   Re: [REQ] admin slot with server full
Reply With Quote #9

Quote:
Originally Posted by THC View Post
i need tu know is possible tu make this plugin or not ?????????
nop.

why? cuz u must check when an admin joins in full server u have to kick a player. when the server is full & the player cant join, u cant check if the player is an admin or not. so u cant kick a Random player or somthing else. u can first check if a player is admin when player is connected to the server.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
pirvu
Senior Member
Join Date: Apr 2009
Location: Here and There [ro]
Old 09-08-2009 , 12:55   Re: [REQ] admin slot with server full
Reply With Quote #10

PHP Code:
#include <amxmodx>

new g_MaxPlayers

public plugin_init()
{
   
g_MaxPlayers get_maxplayers()
}

public 
client_connect(id)
{

   new 
lol=get_playersnum(1);
   if (
lol>g_MaxPlayers-1)
   if(
get_user_flags(id) & ADMIN_RESERVATION)
   {
      new 
kickPlayer=0;
        
      for(new 
pinglosshighestPing=01<= g_MaxPlayersp++)
      {
         if(
is_user_connected(p) && !is_user_bot(p) && !is_user_hltv(p))
         {
            
get_user_ping(ppingloss)

            if(
ping highestPing)
            {
               
kickPlayer id
               highestPing 
ping
            
}
         }
      }

      if(
kickPlayer)
         
server_cmd("kick #%d "get_user_userid(kickPlayer))
   }

Some1 tell me if it works :>?
__________________
Http://pirvu.mybrute.com <- Try my BRUTE! If you dare!

Last edited by pirvu; 09-08-2009 at 12:58.
pirvu is offline
Send a message via Yahoo to pirvu Send a message via Skype™ to pirvu
Reply


Thread Tools
Display Modes

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 16:02.


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