Removed code debug

This commit is contained in:
ElPumpo
2018-05-01 21:02:54 +02:00
parent 7b72befd78
commit 37ab2cb2b0
6 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ Citizen.CreateThread(function()
AddTextComponentString(CurrentActionMsg)
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
TriggerServerEvent('esx_phone:stopDispatch', CurrentDispatchRequestId)
+1 -1
View File
@@ -6,7 +6,7 @@ Locales['br'] = {
['message_sent'] = 'mensagem enviada',
['cannot_add_self'] = 'Você não pode se adicionar',
['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!',
['number_not_assigned'] = 'Este número não foi atribuído...',
}
+2 -2
View File
@@ -2,11 +2,11 @@ Locales['de'] = {
['new_message'] = '~b~Neue Nachricht',
['press_take_call'] = ' - Drücke ~INPUT_CONTEXT~ um den Anruf anzunehmen',
['taken_call'] = ' hat den Anruf angenommen',
['gps_position'] = 'Ziel in GPS eingegeben',
['gps_position'] = 'ziel in GPS eingegeben',
['message_sent'] = 'nachricht gesendet',
['cannot_add_self'] = 'du kannst dich nicht selbst hinzufügen',
['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!',
['number_not_assigned'] = 'diese Nummer ist nicht vergeben...',
}
-1
View File
@@ -6,7 +6,6 @@ Locales['en'] = {
['message_sent'] = 'the message has been sent',
['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',
['contact_added'] = 'the contact has been added!',
['contact_removed'] = 'the contact has been removed!',
['number_not_assigned'] = 'this number is not assigned to anyone!',
+1 -1
View File
@@ -8,5 +8,5 @@ Locales['es'] = {
['number_in_contacts'] = 'Este número ya está en tu lista de contactos',
['contact_added'] = 'Contacto añadido',
['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
View File
@@ -248,8 +248,7 @@ AddEventHandler('esx_phone:addPlayerContact', function(phoneNumber, contactName)
if foundNumber then
-- if phoneNumber == xPlayer.get('phoneNumber') then
if false then
if phoneNumber == xPlayer.get('phoneNumber') then
TriggerClientEvent('esx:showNotification', _source, _U('cannot_add_self'))
else