mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 10:18:54 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user