Diff
checker
텍스트
텍스트
이미지
문서
Excel
폴더
Legal
Enterprise
데스크톱
요금제
로그인
데스크톱 앱 다운로드
텍스트 비교
두 텍스트 파일의 차이점을 찾아보세요
도구
기록
실시간 편집
공백 변경 숨기기
변경 없는 행 숨기기
줄바꿈 비활성화
레이아웃
나란히 보기
합쳐 보기
비교 단위
스마트
단어
글자
텍스트 스타일
모양 변경
구문 강조
언어 선택
제외
텍스트 변환
첫 변경으로
수정
Diffchecker Desktop
가장 안전하게 Diffchecker를 사용하는 방법. 데스크톱 앱을 사용하면 비교 데이터가 외부로 전송되지 않습니다!
데스크톱 앱 받기
Untitled diff
생성일
8년 전
비교 결과 만료 없음
초기화
내보내기
공유
두 텍스트가 동일합니다
두 텍스트 간 차이점이 없습니다
0 삭제
행
총
삭제
글자
총
삭제
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
77 행
복사
0 추가
행
총
추가
글자
총
추가
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
77 행
복사
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
저장된 비교 결과
원본
파일 열기
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
수정본
파일 열기
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
비교하기