Fixed trailing spaces, and commands.lua use apostrof

This commit is contained in:
ElPumpo
2019-11-14 21:25:16 +01:00
parent 09fbb60e8a
commit f32f44f502
3 changed files with 23 additions and 24 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ ESX.StartPayCheck = function()
if account.money >= salary then -- does the society money to pay its employees?
xPlayer.addAccountMoney('bank', salary)
account.removeMoney(salary)
TriggerClientEvent('esx:showAdvancedNotification', xPlayer.source, _U('bank'), _U('received_paycheck'), _U('received_salary', salary), 'CHAR_BANK_MAZE', 9)
else
TriggerClientEvent('esx:showAdvancedNotification', xPlayer.source, _U('bank'), '', _U('company_nomoney'), 'CHAR_BANK_MAZE', 1)