Refactored vehicle list to config (closes #37), fixed restarting script, code improvements

- A lot of minor changes here aswell, for example proper aligment, the menu wont close if you don't have a medkit when attempting to revive players
- Moved to four space (tab) indents
- Proper i18n formatting
This commit is contained in:
ElPumpo
2018-04-24 20:34:09 +02:00
parent 9e18a0f0c4
commit bac6df219d
9 changed files with 451 additions and 474 deletions
+1
View File
@@ -51,6 +51,7 @@ ESX.RegisterServerCallback('esx_ambulancejob:removeItemsAfterRPDeath', function(
end
if Config.RespawnFine then
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('respawn_fine', Config.RespawnFineAmount))
xPlayer.removeAccountMoney('bank', Config.RespawnFineAmount)
end