compatible to new include files

This commit is contained in:
Felix Geyer
2004-03-07 14:30:53 +00:00
parent 4744f0dc0e
commit 9f6b206881
26 changed files with 51 additions and 26 deletions

View File

@ -33,6 +33,7 @@
*/
#include <amxmodx>
#include <amxmisc>
// Comment if you don't want to hide not used reserved slots
#define HIDE_RESERVED_SLOTS
@ -60,7 +61,7 @@ public client_authorized(id)
public client_connect(id)
#endif
{
new maxplayers = get_maxplayers( )
new maxplayers = get_maxplayers()
new players = get_playersnum( 1 )
new limit = maxplayers - get_cvar_num( "amx_reservation" )
@ -75,7 +76,7 @@ public client_connect(id)
#if !defined NO_STEAM
client_cmd(id,g_cmdLoopback)
#else
if ( is_user_bot(id) )
if ( is_user_bot(id) )
server_cmd("kick #%d", get_user_userid(id) )
else
client_cmd(id,"echo ^"Dropped due to slot reservation^";disconnect")