Remove msgs about AC

This commit is contained in:
ChronosX88 2024-01-08 00:03:53 +03:00
parent ee3a0122ed
commit 10f0f4b3ca
3 changed files with 1 additions and 22 deletions

View File

@ -109,7 +109,6 @@ static stock
{ 3, "/countdown", "Countdown" },
{ 3, "/pingimmune", "Making a player immune from ping kicker" },
{ 3, "/ban", "Banning a player" },
{ 3, "/forceac", "Force a player to use CAC while playing the server" },
{ 3, "/bring", "Bring a player to you" },
{ 3, "/chatbanlist", "Shows a list of chat-banned players" },
@ -147,7 +146,6 @@ static stock
{ 5, "/achangename", "Change a players name" },
{ 5, "/unbanip", "Unbanning a IP address" },
{ 5, "/unban", "Unban a player from the server" },
{ 5, "/unforceac", "Unforce a player from using CAC" },
{ 5, "/doublexp", "Enable/disable double XP" },
{ 5, "/toggleviewpm", "Toggle to view private messages" },
{ 5, "/respawnallv", "Respawning all server vehicles" },
@ -160,7 +158,6 @@ static stock
{ 5, "/createhouse", "Creating a house" },
{ 5, "/destroyhouse", "Deleting a house" },
{ 5, "/hadminsell", "Selling a house (as admin)" },
{ 5, "/forceac", "Forcing a player to use SAMP-CAC" },
{ 5, "/createbusiness", "Creates a business" },
{ 5, "/destroybusiness", "Deletes a business" },
{ 5, "/seteventhost", "Setting event host to player" },

View File

@ -78,7 +78,7 @@ CMD:pinfo( playerid, params[ ] )
else if ( !IsPlayerConnected( pID ) || IsPlayerNPC( pID ) ) return SendError( playerid, "Invalid Player ID." );
else
{
SendClientMessageFormatted( playerid, -1, ""COL_PINK"[ADMIN]"COL_WHITE" %s(%d): "COL_GREY"%0.2f%s packetloss, %d FPS, %d ping, from %s, SA-MP AC %s", ReturnPlayerName( pID ), pID, NetStats_PacketLossPercent( pID ), "%%", GetPlayerFPS( pID ), GetPlayerPing( pID ), GetPlayerCountryName( pID ), "DISABLED" );
SendClientMessageFormatted( playerid, -1, ""COL_PINK"[ADMIN]"COL_WHITE" %s(%d): "COL_GREY"%0.2f%s packetloss, %d FPS, %d ping, from %s", ReturnPlayerName( pID ), pID, NetStats_PacketLossPercent( pID ), "%%", GetPlayerFPS( pID ), GetPlayerPing( pID ), GetPlayerCountryName( pID ));
}
return 1;
}

View File

@ -2267,24 +2267,6 @@ CMD:vsay( playerid, params[ ] )
return 1;
}
CMD:aclist( playerid, params[ ] )
{
// new
// count = 0;
// szLargeString = ""COL_WHITE"Orange players are forced to use SA-MP AC\n";
// foreach(new i : Player) if ( IsPlayerUsingSampAC( i ) ) {
// format( szLargeString, sizeof( szLargeString ), "%s%s%s(%d)\n", szLargeString, p_forcedAnticheat[ i ] > 0 ? ( COL_ORANGE ) : ( "" ), ReturnPlayerName( i ), i );
// count++;
// }
// if ( count == 0 ) return SendError( playerid, "There are no SA-MP AC users online." );
// if ( strlen( szLargeString ) == sizeof( szLargeString ) - 1 ) return ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_MSGBOX, "{FFFFFF}Online SA-MP AC Users", sprintf( ""COL_WHITE"There are %d SA-MP AC users online.", count ), "Okay", "" );
// ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_TABLIST_HEADERS, "{FFFFFF}Online SA-MP AC Users", szLargeString, "Okay", "" );
return 1;
}
CMD:viplist( playerid, params[ ] )
{
new