From b3f1f160fcba5d632c67b5fa1f88efbcbc19d3b6 Mon Sep 17 00:00:00 2001 From: Stev Date: Wed, 26 Dec 2018 09:48:37 +0000 Subject: [PATCH] variables for /banlog --- .../irresistible/cnr/commands/admin/admin_three.pwn | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gamemodes/irresistible/cnr/commands/admin/admin_three.pwn b/gamemodes/irresistible/cnr/commands/admin/admin_three.pwn index 9d6af81..a8c1b5f 100644 --- a/gamemodes/irresistible/cnr/commands/admin/admin_three.pwn +++ b/gamemodes/irresistible/cnr/commands/admin/admin_three.pwn @@ -560,12 +560,13 @@ thread OnPlayerBanLog( playerid, const Name[ ] ) return SendError( playerid, "This player isn't banned." ); } - new ban_ip[ 16 ]; - new ban_reason[ 80 ]; - new ban_by[ 24 ]; - new ban_date; - new ban_expire; - new country[ 3 ]; + static + ban_ip[ 16 ], + ban_reason[ 80 ], + ban_by[ 24 ], + ban_date, + ban_expire, + ; for ( new row = 0; row < rows; row ++ ) {