From 10f0f4b3ca85f3fa6547b99e3856820464ae0f4b Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Mon, 8 Jan 2024 00:03:53 +0300 Subject: [PATCH] Remove msgs about AC --- .../irresistible/cnr/commands/admin/_admin.pwn | 3 --- .../cnr/commands/admin/admin_one.pwn | 2 +- gamemodes/sf-cnr.pwn | 18 ------------------ 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/gamemodes/irresistible/cnr/commands/admin/_admin.pwn b/gamemodes/irresistible/cnr/commands/admin/_admin.pwn index 4b6b4ca..1972ff6 100644 --- a/gamemodes/irresistible/cnr/commands/admin/_admin.pwn +++ b/gamemodes/irresistible/cnr/commands/admin/_admin.pwn @@ -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" }, diff --git a/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn b/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn index 2a57114..4d880b0 100644 --- a/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn +++ b/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn @@ -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; } diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index c148a7e..f0d7856 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -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