mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-29 07:25:25 +00:00
Kick reason
This commit is contained in:
parent
20d3fcac30
commit
25bbb02051
1 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ function TKkick( %client, %admin, %guid )
|
||||||
|
|
||||||
if ( isObject( %cl ) )
|
if ( isObject( %cl ) )
|
||||||
{
|
{
|
||||||
%client.setDisconnectReason( "You have been kicked out of the game." ); // z0dd - ZOD, 7/13/03. Tell who kicked
|
%client.setDisconnectReason( "You have been kicked out of the game for teamkilling." ); // z0dd - ZOD, 7/13/03. Tell who kicked
|
||||||
%cl.schedule(700, "delete");
|
%cl.schedule(700, "delete");
|
||||||
}
|
}
|
||||||
// ban by IP as well
|
// ban by IP as well
|
||||||
|
|
@ -96,7 +96,7 @@ function TKkick( %client, %admin, %guid )
|
||||||
|
|
||||||
if ( isObject( %client ) )
|
if ( isObject( %client ) )
|
||||||
{
|
{
|
||||||
%client.setDisconnectReason( "You have been kicked out of the game." );
|
%client.setDisconnectReason( "You have been kicked out of the game for teamkilling." );
|
||||||
%client.schedule(700, "delete");
|
%client.schedule(700, "delete");
|
||||||
}
|
}
|
||||||
BanList::add( 0, %client.getAddress(), $Host::KickBanTime );
|
BanList::add( 0, %client.getAddress(), $Host::KickBanTime );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue