Diff
checker
Texto
Texto
Imágenes
Documentos
Excel
Carpetas
Legal
Enterprise
Aplicación de escritorio
Precios
Iniciar sesión
Descargar Diffchecker Desktop
Comparar texto
Encuentra la diferencia entre dos archivos de texto
Herramientas
Historial
Visualización
Vista
Dividido
Unificado
Editor live
Ocultar espacios en blanco
Ocultar sin cambios
Sin ajuste de línea
Nivel de detalle
Inteligente
Sintaxis
Ninguno
Cambiar apariencia
Procesamiento
Ignorar
Transformar texto
Ir al primer cambio
Editar entrada
Diffchecker Desktop
La forma más segura de usar Diffchecker. ¡Obtén la app de Diffchecker Desktop: tus diffs nunca salen de tu computadora!
Obtener Desktop
Toggle Vehicle Extra
Creado
hace 5 años
El diff nunca expira
Borrar
Exportar
Compartir
Explicar
5 eliminaciones
Líneas
Total
Eliminado
Caracteres
Total
Eliminado
Para continuar usando esta función, actualice a
Diff
checker
Pro
Ver precios
15 líneas
Copiar todo
15 adiciones
Líneas
Total
Añadido
Caracteres
Total
Añadido
Para continuar usando esta función, actualice a
Diff
checker
Pro
Ver precios
20 líneas
Copiar todo
Copiar
Copiado
Copiar
Copiado
TriggerEvent('chat:addSuggestion', '/cruise', 'Toggle cruise lights on designated vehicles')
RegisterCommand("cruise", function()
RegisterCommand("cruise", function()
Copiar
Copiado
Copiar
Copiado
TriggerEvent('chat:addSuggestion', '/cruise', 'Toggle cruise lights on designated vehicles')
local player = PlayerPedId()
local player = PlayerPedId()
local vehicle = GetVehiclePedIsIn(player, false)
local vehicle = GetVehiclePedIsIn(player, false)
Copiar
Copiado
Copiar
Copiado
if vehicle
==
lib11
then
if vehicle
~= nil and GetDisplayNameFromVehicleModel(GetEntityModel(vehicle))
==
"
lib11
"
then
if IsVehicleExtraTurnedOn(vehicle, 3) then
if IsVehicleExtraTurnedOn(vehicle, 3) then
SetVehicleExtra(vehicle, 3, 1)
SetVehicleExtra(vehicle, 3, 1)
Copiar
Copiado
Copiar
Copiado
else
SetVehicleExtra(vehicle, 3, 0)
else
SetVehicleExtra(vehicle, 3, 0)
end
else
if
else
TriggerEvent('chat:addMessage', {
TriggerEvent('chat:addMessage', {
color = { 255, 0, 0},
color = { 255, 0, 0},
multiline = true,
multiline = true,
args = {"OLRP", "This is not the appropriate vehicle for this command."}
args = {"OLRP", "This is not the appropriate vehicle for this command."}
Copiar
Copiado
Copiar
Copiado
})
})
Copiar
Copiado
Copiar
Copiado
end
Copiar
Copiado
Copiar
Copiado
end)
end)
Diferencias guardadas
Texto original
Abrir archivo
RegisterCommand("cruise", function() TriggerEvent('chat:addSuggestion', '/cruise', 'Toggle cruise lights on designated vehicles') local player = PlayerPedId() local vehicle = GetVehiclePedIsIn(player, false) if vehicle == lib11 then if IsVehicleExtraTurnedOn(vehicle, 3) then SetVehicleExtra(vehicle, 3, 1) else SetVehicleExtra(vehicle, 3, 0) elseif TriggerEvent('chat:addMessage', { color = { 255, 0, 0}, multiline = true, args = {"OLRP", "This is not the appropriate vehicle for this command."} }) end)
Texto modificado
Abrir archivo
TriggerEvent('chat:addSuggestion', '/cruise', 'Toggle cruise lights on designated vehicles') RegisterCommand("cruise", function() local player = PlayerPedId() local vehicle = GetVehiclePedIsIn(player, false) if vehicle ~= nil and GetDisplayNameFromVehicleModel(GetEntityModel(vehicle)) == "lib11" then if IsVehicleExtraTurnedOn(vehicle, 3) then SetVehicleExtra(vehicle, 3, 1) else SetVehicleExtra(vehicle, 3, 0) end else TriggerEvent('chat:addMessage', { color = { 255, 0, 0}, multiline = true, args = {"OLRP", "This is not the appropriate vehicle for this command."} }) end end)
Encontrar la diferencia