09.03.2011, 12:16
You'd have to add
on the top of the commands you would like to be "disabled" while your variable is active.
pawn Код:
if(m4w[playerid] == 1 || sw[playerid] == 1) return SendClientMessage(playerid, COLOR_NORMALRED, "You cannot use this command while in war."); //I'm assuming this is the message you want.