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
Editor live
Ocultar espacios en blanco
Ocultar sin cambios
Sin ajuste de línea
Vista
Dividido
Unificado
Nivel de detalle
Inteligente
Palabra
Letra
Estilos de texto
Cambiar apariencia
Resaltado de sintaxis
Elegir sintaxis
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
Untitled diff
Creado
hace 8 años
El diff nunca expira
Borrar
Exportar
Compartir
Los dos textos son idénticos
No hay diferencia entre estos dos textos
0 eliminaciones
Líneas
Total
Eliminado
Caracteres
Total
Eliminado
Para continuar usando esta función, actualice a
Diff
checker
Pro
Ver precios
77 líneas
Copiar todo
0 adiciones
Líneas
Total
Añadido
Caracteres
Total
Añadido
Para continuar usando esta función, actualice a
Diff
checker
Pro
Ver precios
77 líneas
Copiar todo
local Federalstorage = {}
local Federalstorage = {}
local Stage = 0
local Stage = 0
Citizen.CreateThread(function()
Citizen.CreateThread(function()
storageinit()
storageinit()
end)
end)
Citizen.CreateThread(function()
Citizen.CreateThread(function()
while true do
while true do
Wait(0)
Wait(0)
tick()
tick()
end
end
end)
end)
function storageinit()
function storageinit()
bank = AddBlipForCoord(-353.317, -54.1684, 49.0365)
bank = AddBlipForCoord(-353.317, -54.1684, 49.0365)
SetBlipSprite(bank, 304)
SetBlipSprite(bank, 304)
SetBlipAsShortRange(bank, true)
SetBlipAsShortRange(bank, true)
BeginTextCommandSetBlipName("STRING")
BeginTextCommandSetBlipName("STRING")
AddTextComponentString("Fleeca Job")
AddTextComponentString("Fleeca Job")
EndTextCommandSetBlipName(bank)
EndTextCommandSetBlipName(bank)
pickup = CreatePickup(GetHashKey("PICKUP_MONEY_SECURITY_CASE"), -354.009, -54.316, 49.046)
pickup = CreatePickup(GetHashKey("PICKUP_MONEY_SECURITY_CASE"), -354.009, -54.316, 49.046)
-- SetPickupRegenerationTime(pickup, 10000)
-- SetPickupRegenerationTime(pickup, 10000)
end
end
function tick()
function tick()
local playerPed = GetPlayerPed(-1)
local playerPed = GetPlayerPed(-1)
local playerCoords = GetEntityCoords(playerPed, 0)
local playerCoords = GetEntityCoords(playerPed, 0)
if(Stage==0) then
if(Stage==0) then
local location = GetEntityCoords(playerPed, 0)
local location = GetEntityCoords(playerPed, 0)
if (GetDistanceBetweenCoords( -353.317, -54.1684, 49.0365, location.x, location.y, location.z, true ) < 2 ) then
if (GetDistanceBetweenCoords( -353.317, -54.1684, 49.0365, location.x, location.y, location.z, true ) < 2 ) then
SetPedComponentVariation(playerPed, 9, 1, 0, 0)
SetPedComponentVariation(playerPed, 9, 1, 0, 0)
SetPlayerWantedLevel(GetPlayerPed(playerPed),4,false)
SetPlayerWantedLevel(GetPlayerPed(playerPed),4,false)
SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false)
SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false)
DrawMissionText("Escape the ~r~cops!", 10000)
DrawMissionText("Escape the ~r~cops!", 10000)
Stage = 1
Stage = 1
end
end
else if not(IsEntityDead(playerPed)) then
else if not(IsEntityDead(playerPed)) then
local location = GetEntityCoords(playerPed, nil )
local location = GetEntityCoords(playerPed, nil )
if (GetDistanceBetweenCoords( -353.317, -54.1684, 49.0365 , location.x, location.y, location.z, true ) < 42 )
if (GetDistanceBetweenCoords( -353.317, -54.1684, 49.0365 , location.x, location.y, location.z, true ) < 42 )
then
then
if(GetPlayerWantedLevel(GetPlayerPedScriptIndex(playerPed))<5) then
if(GetPlayerWantedLevel(GetPlayerPedScriptIndex(playerPed))<5) then
SetPlayerWantedLevel(GetPlayerPed(playerPed),5,false)
SetPlayerWantedLevel(GetPlayerPed(playerPed),5,false)
SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false)
SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false)
SetPlayerWantedLevel(GetPlayerPed(playerPed),4,false)
SetPlayerWantedLevel(GetPlayerPed(playerPed),4,false)
SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false)
SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false)
end
end
end
end
if not(IsPlayerWantedLevelGreater(GetPlayerPed(playerPed),0)) then
if not(IsPlayerWantedLevelGreater(GetPlayerPed(playerPed),0)) then
SetPedComponentVariation(playerPed, 9, 0, 0, 0)
SetPedComponentVariation(playerPed, 9, 0, 0, 0)
PlayMissionCompleteAudio("FRANKLIN_BIG_01")
PlayMissionCompleteAudio("FRANKLIN_BIG_01")
TriggerServerEvent('mission:completed', 500000)
TriggerServerEvent('mission:completed', 500000)
DrawMissionText("Good job! here is some ~y~cash.", 5000)
DrawMissionText("Good job! here is some ~y~cash.", 5000)
Stage=0
Stage=0
end
end
else
else
Stage = 0
Stage = 0
end
end
end
end
end
end
-- Text stuff
-- Text stuff
function DrawMissionText(m_text, showtime)
function DrawMissionText(m_text, showtime)
ClearPrints()
ClearPrints()
SetTextEntry_2("STRING")
SetTextEntry_2("STRING")
AddTextComponentString(m_text)
AddTextComponentString(m_text)
DrawSubtitleTimed(showtime, 1)
DrawSubtitleTimed(showtime, 1)
end
end
Diferencias guardadas
Texto original
Abrir archivo
local Federalstorage = {} local Stage = 0 Citizen.CreateThread(function() storageinit() end) Citizen.CreateThread(function() while true do Wait(0) tick() end end) function storageinit() bank = AddBlipForCoord(-353.317, -54.1684, 49.0365) SetBlipSprite(bank, 304) SetBlipAsShortRange(bank, true) BeginTextCommandSetBlipName("STRING") AddTextComponentString("Fleeca Job") EndTextCommandSetBlipName(bank) pickup = CreatePickup(GetHashKey("PICKUP_MONEY_SECURITY_CASE"), -354.009, -54.316, 49.046) -- SetPickupRegenerationTime(pickup, 10000) end function tick() local playerPed = GetPlayerPed(-1) local playerCoords = GetEntityCoords(playerPed, 0) if(Stage==0) then local location = GetEntityCoords(playerPed, 0) if (GetDistanceBetweenCoords( -353.317, -54.1684, 49.0365, location.x, location.y, location.z, true ) < 2 ) then SetPedComponentVariation(playerPed, 9, 1, 0, 0) SetPlayerWantedLevel(GetPlayerPed(playerPed),4,false) SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false) DrawMissionText("Escape the ~r~cops!", 10000) Stage = 1 end else if not(IsEntityDead(playerPed)) then local location = GetEntityCoords(playerPed, nil ) if (GetDistanceBetweenCoords( -353.317, -54.1684, 49.0365 , location.x, location.y, location.z, true ) < 42 ) then if(GetPlayerWantedLevel(GetPlayerPedScriptIndex(playerPed))<5) then SetPlayerWantedLevel(GetPlayerPed(playerPed),5,false) SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false) SetPlayerWantedLevel(GetPlayerPed(playerPed),4,false) SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false) end end if not(IsPlayerWantedLevelGreater(GetPlayerPed(playerPed),0)) then SetPedComponentVariation(playerPed, 9, 0, 0, 0) PlayMissionCompleteAudio("FRANKLIN_BIG_01") TriggerServerEvent('mission:completed', 500000) DrawMissionText("Good job! here is some ~y~cash.", 5000) Stage=0 end else Stage = 0 end end end -- Text stuff function DrawMissionText(m_text, showtime) ClearPrints() SetTextEntry_2("STRING") AddTextComponentString(m_text) DrawSubtitleTimed(showtime, 1) end
Texto modificado
Abrir archivo
local Federalstorage = {} local Stage = 0 Citizen.CreateThread(function() storageinit() end) Citizen.CreateThread(function() while true do Wait(0) tick() end end) function storageinit() bank = AddBlipForCoord(-353.317, -54.1684, 49.0365) SetBlipSprite(bank, 304) SetBlipAsShortRange(bank, true) BeginTextCommandSetBlipName("STRING") AddTextComponentString("Fleeca Job") EndTextCommandSetBlipName(bank) pickup = CreatePickup(GetHashKey("PICKUP_MONEY_SECURITY_CASE"), -354.009, -54.316, 49.046) -- SetPickupRegenerationTime(pickup, 10000) end function tick() local playerPed = GetPlayerPed(-1) local playerCoords = GetEntityCoords(playerPed, 0) if(Stage==0) then local location = GetEntityCoords(playerPed, 0) if (GetDistanceBetweenCoords( -353.317, -54.1684, 49.0365, location.x, location.y, location.z, true ) < 2 ) then SetPedComponentVariation(playerPed, 9, 1, 0, 0) SetPlayerWantedLevel(GetPlayerPed(playerPed),4,false) SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false) DrawMissionText("Escape the ~r~cops!", 10000) Stage = 1 end else if not(IsEntityDead(playerPed)) then local location = GetEntityCoords(playerPed, nil ) if (GetDistanceBetweenCoords( -353.317, -54.1684, 49.0365 , location.x, location.y, location.z, true ) < 42 ) then if(GetPlayerWantedLevel(GetPlayerPedScriptIndex(playerPed))<5) then SetPlayerWantedLevel(GetPlayerPed(playerPed),5,false) SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false) SetPlayerWantedLevel(GetPlayerPed(playerPed),4,false) SetPlayerWantedLevelNow(GetPlayerPed(playerPed),false) end end if not(IsPlayerWantedLevelGreater(GetPlayerPed(playerPed),0)) then SetPedComponentVariation(playerPed, 9, 0, 0, 0) PlayMissionCompleteAudio("FRANKLIN_BIG_01") TriggerServerEvent('mission:completed', 500000) DrawMissionText("Good job! here is some ~y~cash.", 5000) Stage=0 end else Stage = 0 end end end -- Text stuff function DrawMissionText(m_text, showtime) ClearPrints() SetTextEntry_2("STRING") AddTextComponentString(m_text) DrawSubtitleTimed(showtime, 1) end
Encontrar la diferencia