kicking reason is displayed (Steam)
This commit is contained in:
@ -192,7 +192,7 @@ accessUser( id, name[]="" )
|
||||
if (result & 1) client_cmd(id,"echo ^"* Invalid Password!^"")
|
||||
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")
|
||||
#endif
|
||||
@ -221,11 +221,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
|
Reference in New Issue
Block a user