Diff
checker
Testo
Testo
Immagini
Documenti
Excel
Cartelle
Legal
Enterprise
Applicazione per desktop
Prezzi
Accedi
Scarica Diffchecker Desktop
Confronta il testo
Trova la differenza tra due file di testo
Strumenti
Cronologia
Visualizzazione
Layout
Diviso
Unificato
Editor live
Nascondi spazi bianchi
Comprimi invariate
Senza a capo
Livello di dettaglio
Intelligente
Sintassi
Nessuno
Modifica aspetto
Elaborazione
Ignora
Trasforma testo
Vai alla prima modifica
Modifica input
Diffchecker Desktop
Il modo più sicuro per usare Diffchecker. Ottieni l'app Diffchecker Desktop: i tuoi diff non lasciano mai il tuo computer!
Ottieni Desktop
Toggle Vehicle Extra
Creato
5 anni fa
Il diff non scade mai
Eliminare
Esporta
Condividere
Spiegare
5 rimozioni
Linee
Totale
Rimosso
Caratteri
Totale
Rimosso
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
15 linee
Copia tutti
15 aggiunte
Linee
Totale
Aggiunto
Caratteri
Totale
Aggiunto
Per continuare a utilizzare questa funzione, aggiorna a
Diff
checker
Pro
Visualizza prezzi
20 linee
Copia tutti
Copia
Copiato
Copia
Copiato
TriggerEvent('chat:addSuggestion', '/cruise', 'Toggle cruise lights on designated vehicles')
RegisterCommand("cruise", function()
RegisterCommand("cruise", function()
Copia
Copiato
Copia
Copiato
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)
Copia
Copiato
Copia
Copiato
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)
Copia
Copiato
Copia
Copiato
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."}
Copia
Copiato
Copia
Copiato
})
})
Copia
Copiato
Copia
Copiato
end
Copia
Copiato
Copia
Copiato
end)
end)
Diff salvati
Testo originale
Apri file
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)
Testo modificato
Apri file
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)
Trovare la differenza