kicking reason is displayed (Steam)

This commit is contained in:
Felix Geyer
2004-02-13 21:20:59 +00:00
parent eeaebf4d03
commit 0b742e54bd
3 changed files with 7 additions and 10 deletions

View File

@ -164,7 +164,7 @@ accessUser( id, name[] = "" )
if (result & 2) {
#if !defined NO_STEAM
client_cmd(id,"echo ^"* You have no entry to the server...^";%s",g_cmdLoopback)
client_cmd(id,g_cmdLoopback)
#else
client_cmd(id,"echo ^"* You have no entry to the server...^";disconnect")
@ -195,11 +195,10 @@ public client_infochanged(id)
#if !defined NO_STEAM
public ackSignal(id)
server_cmd("kick #%d", get_user_userid(id) )
server_cmd("kick #%d ^"You have no entry to the server...^"", get_user_userid(id) )
public client_authorized(id)
#else
public client_connect(id)
#endif
return get_cvar_num( "amx_mode" ) ? accessUser( id ) : PLUGIN_CONTINUE