diff --git a/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn b/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn index beecb2b..3da47cd 100644 --- a/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn +++ b/gamemodes/irresistible/cnr/commands/admin/admin_one.pwn @@ -175,7 +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" ) ); + SendClientMessageToAllFormatted( -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; } diff --git a/gamemodes/irresistible/cnr/commands/admin/admin_three.pwn b/gamemodes/irresistible/cnr/commands/admin/admin_three.pwn index 034bbe9..c4f6160 100644 --- a/gamemodes/irresistible/cnr/commands/admin/admin_three.pwn +++ b/gamemodes/irresistible/cnr/commands/admin/admin_three.pwn @@ -533,13 +533,13 @@ thread OnPlayerBanLog( playerid, const Name[ ] ) ban_ip[ 16 ], ban_reason[ 80 ], ban_by[ 24 ], - ban_date, + // ban_date, ban_expire ; for ( new row = 0; row < rows; row ++ ) { - ban_date = cache_get_field_content_int( row, "DATE" ); + // ban_date = cache_get_field_content_int( row, "DATE" ); ban_expire = cache_get_field_content_int( row, "EXPIRE" ); cache_get_field_content( row, "IP", ban_ip ); cache_get_field_content( row, "REASON", ban_reason );