mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-13 15:14:34 +00:00
Show SmurfNames correctly
This commit is contained in:
parent
94a2ce8f39
commit
30ef1564ef
2 changed files with 6 additions and 2 deletions
|
|
@ -181,7 +181,11 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
|
||||||
%client.adminVoteSet = 0;
|
%client.adminVoteSet = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Show smurf names correctly
|
||||||
|
if(%client.isSmurf)
|
||||||
|
%client.nameBase = stripChars( detag( getTaggedString( %client.name ) ), "\cp\co\c6\c7\c8\c9" );
|
||||||
|
|
||||||
%teamSpecific = 0;
|
%teamSpecific = 0;
|
||||||
switch$(%typeName)
|
switch$(%typeName)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1210,7 +1210,7 @@ function cmdAutoKickObserver(%client, %key) // Edit GG
|
||||||
|
|
||||||
if ( isObject( %client ) )
|
if ( isObject( %client ) )
|
||||||
{
|
{
|
||||||
messageAll('MsgAdminForce', '\c2%1 has left the game. (Observer Timeout)', %client.nameBase);
|
messageAll('MsgAdminForce', '\c2%1 has left the game. (Observer Timeout)', %client.name);
|
||||||
|
|
||||||
%client.setDisconnectReason( "Observer Timeout" );
|
%client.setDisconnectReason( "Observer Timeout" );
|
||||||
%client.schedule(700, "delete");
|
%client.schedule(700, "delete");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue