From c6eaca88e8d9fcb77be873790da19ad206f71a44 Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Sat, 1 Jun 2019 19:52:32 +1000 Subject: [PATCH] make donation goal between 0 and 10k --- gamemodes/irresistible/cnr/features/vip/redeem_code.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/features/vip/redeem_code.pwn b/gamemodes/irresistible/cnr/features/vip/redeem_code.pwn index 8b72e43..7c9ec9f 100644 --- a/gamemodes/irresistible/cnr/features/vip/redeem_code.pwn +++ b/gamemodes/irresistible/cnr/features/vip/redeem_code.pwn @@ -307,7 +307,7 @@ CMD:updatedonategoal( playerid, params[ ] ) if ( ! IsPlayerAdmin( playerid ) && ! IsPlayerLeadMaintainer( playerid ) ) return 0; else if ( sscanf( params, "f", donation_goal ) ) return SendUsage( playerid, "/updatedonationreq [DONATION_GOAL_AMOUNT]" ); - else if ( ! ( 1.0 <= donation_goal < 10000.0 ) ) return SendError( playerid, "Donation goal amount must be between $1 and $10,000." ); + else if ( ! ( 0.0 <= donation_goal < 10000.0 ) ) return SendError( playerid, "Donation goal amount must be between $0 and $10,000." ); else { new