mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Removed code debug
This commit is contained in:
+1
-1
@@ -315,7 +315,7 @@ Citizen.CreateThread(function()
|
|||||||
AddTextComponentString(CurrentActionMsg)
|
AddTextComponentString(CurrentActionMsg)
|
||||||
DisplayHelpTextFromStringLabel(0, 0, 1, -1)
|
DisplayHelpTextFromStringLabel(0, 0, 1, -1)
|
||||||
|
|
||||||
if IsControlPressed(0, Keys['E']) and GetLastInputMethod(2) and (GetGameTimer() - GUI.Time) > 300 then
|
if IsControlPressed(0, Keys['E']) and GetLastInputMethod(2) and (GetGameTimer() - GUI.Time) > 300 then
|
||||||
|
|
||||||
if CurrentAction == 'dispatch' then
|
if CurrentAction == 'dispatch' then
|
||||||
TriggerServerEvent('esx_phone:stopDispatch', CurrentDispatchRequestId)
|
TriggerServerEvent('esx_phone:stopDispatch', CurrentDispatchRequestId)
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ Locales['br'] = {
|
|||||||
['message_sent'] = 'mensagem enviada',
|
['message_sent'] = 'mensagem enviada',
|
||||||
['cannot_add_self'] = 'Você não pode se adicionar',
|
['cannot_add_self'] = 'Você não pode se adicionar',
|
||||||
['number_in_contacts'] = 'Este número já está na sua lista de contatos',
|
['number_in_contacts'] = 'Este número já está na sua lista de contatos',
|
||||||
['contact_added'] = 'Contato adicionado',
|
['contact_added'] = 'contato adicionado',
|
||||||
['contact_removed'] = 'the contact has been removed!',
|
['contact_removed'] = 'the contact has been removed!',
|
||||||
['number_not_assigned'] = 'Este número não foi atribuído...',
|
['number_not_assigned'] = 'Este número não foi atribuído...',
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -2,11 +2,11 @@ Locales['de'] = {
|
|||||||
['new_message'] = '~b~Neue Nachricht',
|
['new_message'] = '~b~Neue Nachricht',
|
||||||
['press_take_call'] = ' - Drücke ~INPUT_CONTEXT~ um den Anruf anzunehmen',
|
['press_take_call'] = ' - Drücke ~INPUT_CONTEXT~ um den Anruf anzunehmen',
|
||||||
['taken_call'] = ' hat den Anruf angenommen',
|
['taken_call'] = ' hat den Anruf angenommen',
|
||||||
['gps_position'] = 'Ziel in GPS eingegeben',
|
['gps_position'] = 'ziel in GPS eingegeben',
|
||||||
['message_sent'] = 'nachricht gesendet',
|
['message_sent'] = 'nachricht gesendet',
|
||||||
['cannot_add_self'] = 'du kannst dich nicht selbst hinzufügen',
|
['cannot_add_self'] = 'du kannst dich nicht selbst hinzufügen',
|
||||||
['number_in_contacts'] = 'diese Nummer ist bereits in deinen Kontakten',
|
['number_in_contacts'] = 'diese Nummer ist bereits in deinen Kontakten',
|
||||||
['contact_added'] = 'Kontakt hinzugefügt',
|
['contact_added'] = 'kontakt hinzugefügt',
|
||||||
['contact_removed'] = 'the contact has been removed!',
|
['contact_removed'] = 'the contact has been removed!',
|
||||||
['number_not_assigned'] = 'diese Nummer ist nicht vergeben...',
|
['number_not_assigned'] = 'diese Nummer ist nicht vergeben...',
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ Locales['en'] = {
|
|||||||
['message_sent'] = 'the message has been sent',
|
['message_sent'] = 'the message has been sent',
|
||||||
['cannot_add_self'] = 'you can not add yourself',
|
['cannot_add_self'] = 'you can not add yourself',
|
||||||
['number_in_contacts'] = 'this number is already in your contact list',
|
['number_in_contacts'] = 'this number is already in your contact list',
|
||||||
['number_in_contacts'] = 'this number is already in your contact list',
|
|
||||||
['contact_added'] = 'the contact has been added!',
|
['contact_added'] = 'the contact has been added!',
|
||||||
['contact_removed'] = 'the contact has been removed!',
|
['contact_removed'] = 'the contact has been removed!',
|
||||||
['number_not_assigned'] = 'this number is not assigned to anyone!',
|
['number_not_assigned'] = 'this number is not assigned to anyone!',
|
||||||
|
|||||||
+1
-1
@@ -8,5 +8,5 @@ Locales['es'] = {
|
|||||||
['number_in_contacts'] = 'Este número ya está en tu lista de contactos',
|
['number_in_contacts'] = 'Este número ya está en tu lista de contactos',
|
||||||
['contact_added'] = 'Contacto añadido',
|
['contact_added'] = 'Contacto añadido',
|
||||||
['contact_removed'] = 'the contact has been removed!',
|
['contact_removed'] = 'the contact has been removed!',
|
||||||
['number_not_assigned'] = 'El número no se ha añadido todavía...',
|
['number_not_assigned'] = 'el número no se ha añadido todavía...',
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -248,8 +248,7 @@ AddEventHandler('esx_phone:addPlayerContact', function(phoneNumber, contactName)
|
|||||||
|
|
||||||
if foundNumber then
|
if foundNumber then
|
||||||
|
|
||||||
-- if phoneNumber == xPlayer.get('phoneNumber') then
|
if phoneNumber == xPlayer.get('phoneNumber') then
|
||||||
if false then
|
|
||||||
TriggerClientEvent('esx:showNotification', _source, _U('cannot_add_self'))
|
TriggerClientEvent('esx:showNotification', _source, _U('cannot_add_self'))
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user