From af4f9ae4c70405dd27f0f22ed8da61fafe3ff35e Mon Sep 17 00:00:00 2001 From: Stev Date: Fri, 31 May 2019 19:08:05 +0100 Subject: [PATCH] returning dialog menu when setting cac --- gamemodes/irresistible/cnr/features/duel.pwn | 1 + 1 file changed, 1 insertion(+) diff --git a/gamemodes/irresistible/cnr/features/duel.pwn b/gamemodes/irresistible/cnr/features/duel.pwn index a61c527..d43f58c 100644 --- a/gamemodes/irresistible/cnr/features/duel.pwn +++ b/gamemodes/irresistible/cnr/features/duel.pwn @@ -173,6 +173,7 @@ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[] ) g_duelData[ playerid ][ E_CAC ] = !g_duelData[ playerid ][ E_CAC ]; SendClientMessageFormatted( playerid, -1, ""COL_DUEL"[DUEL]{FFFFFF} You have %s "COL_GREY"CAC Only"COL_WHITE".", g_duelData[ playerid ][ E_CAC ] ? ( "enabled" ) : ( "disabled" ) ); + ShowPlayerDuelMenu( playerid ); } case 8: