From fa7623acd66ac50c50b19b9e5692fa935b5a305d Mon Sep 17 00:00:00 2001 From: n3x503 Date: Sat, 23 Dec 2017 13:24:01 +0100 Subject: [PATCH] Update main.lua Money Gitch Patched (line 388 ) Added Fix for salary, this patch fix the issue that the boss can change his salary to 100000000 or any other emplyee and actually get the money when the paycheck is given , now the limit is 3000 (max salary input) but you can always change it at the line 390. Dont forget to add in locals folder at your language a new line , that translate : invalid_amount_max . --- client/main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/main.lua b/client/main.lua index 5a39d5c5..39590244 100644 --- a/client/main.lua +++ b/client/main.lua @@ -387,6 +387,8 @@ function OpenManageGradesMenu(society) if amount == nil then ESX.ShowNotification(_U('invalid_amount')) + elseif amount >= 3001 then + ESX.ShowNotification(_U('invalid_amount_max')) else menu2.close()