Skip to content

Commit

Permalink
build: remove esx_phone
Browse files Browse the repository at this point in the history
  • Loading branch information
jbdevic committed Jan 14, 2023
1 parent 3568d2b commit 18c4d70
Show file tree
Hide file tree
Showing 110 changed files with 2 additions and 5,333 deletions.
20 changes: 1 addition & 19 deletions [SQL]/legacy.sql
Original file line number Diff line number Diff line change
Expand Up @@ -907,25 +907,7 @@ ALTER TABLE `users`
--
ALTER TABLE `user_licenses`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- ESX Phone
--
CREATE TABLE `user_contacts` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`identifier` VARCHAR(60) NOT NULL,
`name` VARCHAR(100) NOT NULL,
`number` INT(11) NOT NULL,

PRIMARY KEY (`id`),
INDEX `index_user_contacts_identifier_name_number` (`identifier`, `name`, `number`)
) ENGINE=InnoDB;


ALTER TABLE `users`
ADD COLUMN `phone_number` INT(11) NULL,
ADD UNIQUE INDEX `index_users_phone_number` (`phone_number`);


--
-- Fine Types
--
Expand Down
8 changes: 0 additions & 8 deletions [esx_addons]/esx_ambulancejob/client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -344,14 +344,6 @@ function RespawnPed(ped, coords, heading)
TriggerEvent('playerSpawned') -- compatibility with old scripts, will be removed soon
end

RegisterNetEvent('esx_phone:loaded')
AddEventHandler('esx_phone:loaded', function(phoneNumber, contacts)
local specialContact = {name = 'Ambulance', number = 'ambulance',
base64Icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAABp5JREFUWIW1l21sFNcVhp/58npn195de23Ha4Mh2EASSvk0CPVHmmCEI0RCTQMBKVVooxYoalBVCVokICWFVFVEFeKoUdNECkZQIlAoFGMhIkrBQGxHwhAcChjbeLcsYHvNfsx+zNz+MBDWNrYhzSvdP+e+c973XM2cc0dihFi9Yo6vSzN/63dqcwPZcnEwS9PDmYoE4Ix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qoVP1GG1taTHn1CloXm9aLBEIEDl/IS2W6rg+qIFEYR7+OJTesqJqYa95/VKBNOHLjDBZ8sDS2998a0Bs/F//gvu5Z9NivadOc/U3676pEsizBIN1jCYlhClL+ELJDrkobNUBfBZqQfMN305HAgnIeYi4OnYMh7q/AsAXSdXK+eH41sykxd+TV/AsXvR/MeARAttD9pSqF9nDNfSEoDQsb5O31zQFprcaV244JPY7bqG6Xd9K3C3ALgbfk3NzqNE6CdplZrVFL27eWR+UASb6479ULfhD5AzOlSuGFTE6OohebElbcb8fhxA4xEPUgdTK19hiNKCZgknB+Ep44E44d82cxqPPOKctCGXzTmsBXbV1j1S5XQhyHq6NvnABPylu46A7QmVLpP7w9pNz4IEb0YyOrnmjb8bjB129fDBRkDVj2ojFbYBnCHHb7HL+OC7KQXeEsmAiNrnTqLy3d3+s/bvlVmxpgffM1fyM5cfsPZLuK+YHnvHELl8eUlwV4BXim0r6QV+4gD9Nlnjbfg1vJGktbI5UbN/TcGmAAYDG84Gry/MLLl/zKouO2Xukq/YkCyuWYV5owTIGjhVFCPL6J7kLOTcH89ereF1r4qOsm3gjSevl85El1Z98cfhB3qBN9+dLp1fUTco+0OrVMnNjFuv0chYbBYT2HcBoa+8TALyWQOt/ImPHoFS9SI3WyRajgdt2mbJgIlbREplfveuLf/XXemjXX7v46ZxzPlfd8YlZ01My5MUEVdIY5rueYopw4fQHkbv7/rZkTw6JwjyalBCHur9iD9cI2mU0UzD3P9H6yZ1G5dt7Gwe96w07dl5fXj7vYqH2XsNovdTI6KMrlsAXhRyz7/C7FBO/DubdVq4nBLPaohcnBeMr3/2k4fhQ+Uc8995YPq2wMzNjww2X+vwNt1p00ynrd2yKDJAVN628sBX1hZIdxXdStU9G5W2bd9YHR5L3f/CNmJeY9G8WAAAAAElFTkSuQmCC'}

TriggerEvent('esx_phone:addSpecialContact', specialContact.name, specialContact.number, specialContact.base64Icon)
end)

AddEventHandler('esx:onPlayerDeath', function(data)
OnPlayerDeath()
end)
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/br.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ Locales['br'] = {
['ems_menu_small'] = 'curar pequenas feridas',
['ems_menu_big'] = 'tratando lesões graves',
['ems_menu_search'] = 'paciente não encontrado',
-- Phone
['alert_ambulance'] = 'alerta socorrista',
-- Death
['respawn_available_in'] = 'você irar reviver em %s minutos %s segundos',
['respawn_bleedout_in'] = 'você vai sangrar %s minutos %s segundos\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/cs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ Locales['cs'] = {
['ems_menu_small'] = 'ošetřit malé zranění',
['ems_menu_big'] = 'ošetřit vážné zranění',
['ems_menu_search'] = 'pacient nebyl nalezen',
-- Phone
['alert_ambulance'] = 'zdravotnický poplach',
-- Death
['respawn_available_in'] = 'oživení dostupné za %s minut a %s sekund\n',
['respawn_bleedout_in'] = 'vykrvácíte za %s minut a %s sekund\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ Locales['de'] = {
['ems_menu_putincar'] = 'In Fahrzeug stecken',
['ems_menu_small'] = 'Kleine Wunden behandeln',
['ems_menu_big'] = 'Ernsthafte Verletzungen behandeln',
-- Phone
['alert_ambulance'] = 'Rettungsdienst alarmieren',
-- Death
['respawn_available_in'] = 'Respawn in %s Minuten %s Sekundenrfügbar',
['respawn_bleedout_in'] = 'Du wirst in %s Minuten %s Sekundensbluten\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ Locales['en'] = {
['ems_menu_small'] = 'Heal small wounds',
['ems_menu_big'] = 'Treat serious injuries',
['ems_menu_search'] = 'Patient not found',
-- Phone
['alert_ambulance'] = 'Alert Ambulance',
-- Death
['respawn_available_in'] = 'Respawn available in %s minutes %s seconds',
['respawn_bleedout_in'] = 'You will bleed out in %s minutes %s seconds\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/es.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ Locales['es'] = {
['ems_menu_small'] = 'Curar pequeñas heridas',
['ems_menu_big'] = 'Tratar lesiones graves',
['ems_menu_search'] = 'Paciente no encontrado',
-- Phone
['alert_ambulance'] = 'Alerta de ambulancia',
-- Death
['respawn_available_in'] = 'Reaparición disponible en %s minutes %s seconds',
['respawn_bleedout_in'] = 'te desangrarás en %s minutes %s seconds\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/et.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ Locales['et'] = {
['ems_menu_small'] = 'Ravi väikseid haavi',
['ems_menu_big'] = 'Ravi tõsiseid haavu',
['ems_menu_search'] = 'Patsienti ei leitud',
-- Phone
['alert_ambulance'] = 'Kiirabi teadaanded',
-- Death
['respawn_available_in'] = 'Sul on võimalik haiglas ärgata %s minuti ka %s sekundi pärast',
['respawn_bleedout_in'] = 'Sa jooksed verest tühjak %s minuti ja %s sekundi pärast\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/fi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ Locales['fi'] = {
['ems_menu_small'] = 'hoida pieniä haavoja',
['ems_menu_big'] = 'hoida isoja haavoja',
['ems_menu_search'] = 'potilasta ei löydy',
-- Phone
['alert_ambulance'] = 'hälyytys Ensihoidolle',
-- Death
['respawn_available_in'] = 'respawn available in %s minutes %s seconds',
['respawn_bleedout_in'] = 'you will bleed out in %s minutes %s seconds\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ Locales['fr'] = {
['ems_menu_small'] = 'soigner petites blessures',
['ems_menu_big'] = 'soigner blessures graves',
['ems_menu_search'] = 'patient introuvable',
-- Phone
['alert_ambulance'] = 'alerte Ambulance',
-- Death
['respawn_available_in'] = 'réanimation possible dans %s minutes %s secondes',
['respawn_bleedout_in'] = 'vous allez souffrir d\'une hémorragie dans %s minutes %s secondes\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/hu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ Locales['hu'] = {
['ems_menu_small'] = 'Kis sebek meggyógyítása',
['ems_menu_big'] = 'Súlyos sérülések kezelése',
['ems_menu_search'] = 'Civil megkeresése',
-- Phone
['alert_ambulance'] = 'EMS értesités',
-- Death
['respawn_available_in'] = 'Újraéledés: %s',
['respawn_bleedout_in'] = 'Elfogsz vérezni %s perc %s másodperc múlva...\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/nl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ Locales['nl'] = {
['ems_menu_putincar'] = 'Zet in voertuig',
['ems_menu_small'] = 'Behandel kleine verwondingen',
['ems_menu_big'] = 'Behandel grote verwondingen',
-- Phone
['alert_ambulance'] = 'alert Ambulance',
-- Death
['respawn_available_in'] = 'Respawn beschikbaar in %s minuten en %s seconden',
['respawn_bleedout_in'] = 'Je zal doodbloeden in %s minuten %s seconden\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/pl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ Locales['pl'] = {
['ems_menu_small'] = 'ulecz małe rany',
['ems_menu_big'] = 'ulecz poważne obrażenia',
['ems_menu_search'] = 'nie znaleziono pacjenta',
-- Phone
['alert_ambulance'] = 'wezwij ambulans',
-- Death
['respawn_available_in'] = 'respawn available in %s minutes %s seconds',
['respawn_bleedout_in'] = 'you will bleed out in %s minutes %s seconds\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/si.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ Locales['si'] = {
['ems_menu_small'] = 'Heal small wounds',
['ems_menu_big'] = 'Treat serious injuries',
['ems_menu_search'] = 'Patient not found',
-- Telefon
['alert_ambulance'] = 'Alert Ambulance',
-- Smrt
['respawn_available_in'] = 'Ponovna obnova je na voljo čez %s minut %s sekund',
['respawn_bleedout_in'] = 'Izkrvavel boš v %s minutah %s sekundah\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/sv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ Locales['sv'] = {
['ems_menu_small'] = 'behandla mindre skador',
['ems_menu_big'] = 'behandla svåra skador',
['ems_menu_search'] = 'patienten hittades inte',
-- Phone
['alert_ambulance'] = 'ambulanssamtal',
-- Death
['respawn_available_in'] = 'respawn tillgänglig om %s:%s',
['respawn_bleedout_in'] = 'du kommer att förblöda om %s:%s\n',
Expand Down
2 changes: 0 additions & 2 deletions [esx_addons]/esx_ambulancejob/locales/tr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ Locales['tr'] = {
['ems_menu_putincar'] = 'araca koy',
['ems_menu_small'] = 'küçük yaraları tedavi et',
['ems_menu_big'] = 'ciddi yaraları tedavi et',
-- Phone
['alert_ambulance'] = 'hastane Acil Durum',
-- Death
['respawn_available_in'] = 'yeniden canlanmana %s dakika %s saniye kaldı',
['respawn_bleedout_in'] = 'kanama %s dakika %s saniye boyunca devam edecek\n',
Expand Down
4 changes: 0 additions & 4 deletions [esx_addons]/esx_ambulancejob/server/main.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
local playersHealing, deadPlayers = {}, {}

if GetResourceState("esx_phone") ~= 'missing' then
TriggerEvent('esx_phone:registerNumber', 'ambulance', TranslateCap('alert_ambulance'), true, true)
end

CreateThread(function()
exports["esx_society"]:registerSociety('ambulance', 'Ambulance', 'society_ambulance', 'society_ambulance', 'society_ambulance', {type = 'public'})
end)
Expand Down
11 changes: 0 additions & 11 deletions [esx_addons]/esx_bankerjob/client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,3 @@ CreateThread(function()
end
end
end)

RegisterNetEvent('esx_phone:loaded')
AddEventHandler('esx_phone:loaded', function (phoneNumber, contacts)
local specialContact = {
name = TranslateCap('phone_label'),
number = 'banker',
base64Icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAABGdBTUEAALGPC/xhBQAAAwBQTFRFAAAAJUO2JUS4JkW7Jka+L0y5M0+7O1e9J0fBKEjEKEnHKUrJKUvMKk3PK07SK0/VLFHaLVLeLVPgLlTjOl7kO1/lQFu/RmDBTmbEU2vHXHLIR2jmSGnnVHPoVXToaX7NYX7pYn/qbIHPd4rReYzTbojre5PtfZTuhZbWh5jYiJ7vkqHblqnwl6rxoK3fpLXzsb/1u8Xovsr2ydHty9X419zy5Oj25ur88vT78vT88/X9////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATuU7PwAAAQB0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AFP3ByUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjEuNv1OCegAAAUoSURBVHhe5ZvrdtQ2FEZjoCmFltsQ2gYCA4VA06GUhktK3v+5ppK8bUu2jnTk26zV7l+JbH1nR7Y0QglH+zHstpsBb7hWSLHAjnpxttylp0zgKXWSXHCzjgKBxxRQcE4XBVqBc6LV0C+LTqDgh+/Y0TmNRoDAcjRPIi8w6qdvyI9CTiAy4csgRyQjQMoUHhMlkBSYNPodpMVJCdB/OqlBkAXO6D0LZEYQBeg5F+L6LAnQbz7OCO4jCNBrVojuERUoXvh1kB4SE1ioftwgIjDr6x9CBZ+hwGI/v4UaHgOBRetHDAYC3LgYlGnpC3DbcvSX5Z4Ady1Jb+McCnDPslALAoEFJ6AP1WoCAW5YHMo5fAEuL4//GngCM+1/NFDR4glwcRUoaegEuFTEp+vr6298XUS3P2kFRuy/X5rylvd8XwJVPQEu6Dn5Rn3Dc9r0PKVsK1D8BtrR7yh/DtRtBWjWckHhjr+5oobCCNCo5BlFQ95yVUldeJTAVyoOOOEGFXws1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+ReSEMg9Bv1GibwoKYGZ5mNk9fFIC+TOjzTzkSSJjEDu76yyGyVSZLICmeeQno/xtSdAIZBZlqgVQVFeKZB+EMJ8pGcOpYCBchEiGyV3/qRCL5A4ROhtlORlL0KJgIWSfShtSM/6IaUCltjW2W2Uoh/4GcYI1Oy2rcj2XPe/rIfs9/8CuOBqaLBm2ZcAAAAASUVORK5CYII='
}

TriggerEvent('esx_phone:addSpecialContact', specialContact.name, specialContact.number, specialContact.base64Icon)
end)
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/br.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['br'] = {
['press_input_context_to_open_menu'] = 'pressione [E] para abrir o menu',
['withdraw'] = 'sacar',
['boss_actions'] = 'boss Actions',
['phone_receive'] = 'bank Customer',
['phone_label'] = 'bank',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['de'] = {
['press_input_context_to_open_menu'] = 'Drücke [E] um das Bank Menü zu öffnen',
['withdraw'] = 'Abheben',
['boss_actions'] = 'boss Actions',
['phone_receive'] = 'Bankkunde',
['phone_label'] = 'bank',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['en'] = {
['press_input_context_to_open_menu'] = 'press [E] to open the Bank Menu.',
['withdraw'] = 'withdraw',
['boss_actions'] = 'boss Actions',
['phone_receive'] = 'bank Customer',
['phone_label'] = 'bank',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/es.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['es'] = {
['press_input_context_to_open_menu'] = 'presione [E] para abrir el Menú del banc .',
['withdraw'] = 'retirar',
['boss_actions'] = 'Acciones del jefe',
['phone_receive'] = 'Cliente bancario',
['phone_label'] = 'banco',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/et.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['et'] = {
['press_input_context_to_open_menu'] = 'Vajuta [E], et avada panga menüü.',
['withdraw'] = 'Võta välja',
['boss_actions'] = 'Bossi tegevused',
['phone_receive'] = 'Panga klient',
['phone_label'] = 'Pank',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/fi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['fi'] = {
['press_input_context_to_open_menu'] = 'Paina [E] avataksesi valikon',
['withdraw'] = 'nosta',
['boss_actions'] = 'pomo valinnat',
['phone_receive'] = 'pankin asiakas',
['phone_label'] = 'bank',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['fr'] = {
['press_input_context_to_open_menu'] = 'appuyez sur [E] pour ouvrir le menu',
['withdraw'] = 'retrait',
['boss_actions'] = 'action Patron',
['phone_receive'] = 'client Banque',
['phone_label'] = 'banque',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/hu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['hu'] = {
['press_input_context_to_open_menu'] = 'Nyomj [E] hogy megnyisd a bankot.',
['withdraw'] = 'Kivétel',
['boss_actions'] = 'Főnöki menü',
['phone_receive'] = 'banki ügyfél',
['phone_label'] = 'bank',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/it.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['it'] = {
['press_input_context_to_open_menu'] = 'premi [E] per aprire il menu della banca.',
['withdraw'] = 'ritira',
['boss_actions'] = 'azioni boss',
['phone_receive'] = 'cliente bancario',
['phone_label'] = 'banca',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/nl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['nl'] = {
['press_input_context_to_open_menu'] = 'druk op [E] om het Bank Menute openen.',
['withdraw'] = 'opnemen',
['boss_actions'] = 'baas acties',
['phone_receive'] = 'bank klant',
['phone_label'] = 'bank',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/si.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['si'] = {
['press_input_context_to_open_menu'] = 'pritisnite [E] za odprtje menija banke Bank.',
['withdraw'] = 'umakni',
['boss_actions'] = 'boss Actions',
['phone_receive'] = 'bančna stranka',
['phone_label'] = 'bank',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/sv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ Locales['sv'] = {
['press_input_context_to_open_menu'] = 'Tryck [E] för att öppna Bankmenyn.',
['withdraw'] = 'Ta ut',
['boss_actions'] = 'Chef handlingar',
['phone_receive'] = 'Bank meddelande mottaget',
['phone_label'] = 'Bank',
}
2 changes: 0 additions & 2 deletions [esx_addons]/esx_bankerjob/locales/tr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@ Locales['tr'] = {
['press_input_context_to_open_menu'] = 'Banka Menüsünü açmak için [E] tuşuna basın.',
['withdraw'] = 'para çek',
['boss_actions'] = 'patron Hareketleri',
['phone_receive'] = 'banka Müşterisi',
['phone_label'] = 'banka',
}

3 changes: 1 addition & 2 deletions [esx_addons]/esx_bankerjob/server/main.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
TriggerEvent('esx_phone:registerNumber', 'banker', _('phone_receive'), false, false)
CreateThread(function()
exports["esx_society"]:registerSociety('banker', TranslateCap('phone_label'), 'society_banker', 'society_banker', 'society_banker', {type = 'public'})
exports["esx_society"]:registerSociety('banker', TranslateCap('bank'), 'society_banker', 'society_banker', 'society_banker', {type = 'public'})
end)

RegisterServerEvent('esx_bankerjob:customerDeposit')
Expand Down
Loading

0 comments on commit 18c4d70

Please sign in to comment.