From d9a6a6940217d7a540481a1289a4441d5e05239d Mon Sep 17 00:00:00 2001 From: Sultan1337 <51270951+Sultan1337@users.noreply.github.com> Date: Sat, 20 Jul 2019 13:05:27 +0500 Subject: [PATCH] Update admin_one.pwn --- gamemodes/irresistible/cnr/commands/admin/admin_one.pwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn b/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn index fe5d0b0..beecb2b 100644 --- a/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn +++ b/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn @@ -175,6 +175,7 @@ CMD:aod( playerid, params[ ] ) DisableRemoteVehicleCollisions( playerid, 0 ); SendClientMessage( playerid, -1, ""COL_PINK"[ADMIN]"COL_WHITE" You have disabled administration mode." ); } + SendClientMessageFormattedToAll( -1, ""COL_PINK"[ADMIN]"COL_WHITE" %s(%d) is now %s-duty.", ReturnPlayerName( playerid ), playerid, p_AdminOnDuty{ playerid } == true ? ( "on" ) : ( "off" ) ); SetPlayerColorToTeam( playerid ); return 1; } @@ -742,4 +743,4 @@ CMD:chatbanlist( playerid, params[ ] ) return SendError( playerid, "There are no chat banned players online." ); else return ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_TABLIST, ""COL_WHITE"Chat Ban List", szNormalString, "Close", "" ), 1; -} \ No newline at end of file +}