Is there a way that I can “cut” the cutscene as the airplane lands? Just so I can take off this Lamar part? Thanks in advance
Yes you can
Holy sh*t you’re a legend
How? I can’t seem to figure it out
can you help me? i don’t know how to use this script
Anyone with ESX v1 final using just that alone know how to make it show only that cutscene when players first join the server?
I tried putting it here but it does it on every player spawn
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded', function(playerData)
ESX.PlayerLoaded = true
ESX.PlayerData = playerData
-- check if player is coming from loading screen
if GetEntityModel(PlayerPedId()) == GetHashKey('PLAYER_ZERO') then
local defaultModel = GetHashKey('a_m_y_stbla_02')
RequestModel(defaultModel)
while not HasModelLoaded(defaultModel) do
Citizen.Wait(10)
end
SetPlayerModel(PlayerId(), defaultModel)
SetPedDefaultComponentVariation(PlayerPedId())
SetPedRandomComponentVariation(PlayerPedId(), true)
SetModelAsNoLongerNeeded(defaultModel)
end
-- freeze the player
FreezeEntityPosition(PlayerPedId(), true)
-- enable PVP
SetCanAttackFriendly(PlayerPedId(), true, false)
NetworkSetFriendlyFireOption(true)
-- disable wanted level
ClearPlayerWantedLevel(PlayerId())
SetMaxWantedLevel(0)
if Config.EnableHud then
for k,v in ipairs(playerData.accounts) do
local accountTpl = '<div><img src="img/accounts/' .. v.name .. '.png"/> {{money}}</div>'
ESX.UI.HUD.RegisterElement('account_' .. v.name, k, 0, accountTpl, {money = ESX.Math.GroupDigits(v.money)})
end
local jobTpl = '<div>{{job_label}} - {{grade_label}}</div>'
if playerData.job.grade_label == '' or playerData.job.grade_label == playerData.job.label then
jobTpl = '<div>{{job_label}}</div>'
end
ESX.UI.HUD.RegisterElement('job', #playerData.accounts, 0, jobTpl, {
job_label = playerData.job.label,
grade_label = playerData.job.grade_label
})
end
ESX.Game.Teleport(PlayerPedId(), {
x = playerData.coords.x,
y = playerData.coords.y,
z = playerData.coords.z + 0.25,
heading = playerData.coords.heading
}, function()
TriggerServerEvent('esx:onPlayerSpawn')
TriggerEvent('esx:onPlayerSpawn')
TriggerEvent('playerSpawned') -- compatibility with old scripts, will be removed soon
TriggerEvent('esx:restoreLoadout')
Citizen.Wait(4000)
ShutdownLoadingScreen()
ShutdownLoadingScreenNui()
FreezeEntityPosition(PlayerPedId(), false)
DoScreenFadeIn(10000)
StartServerSyncLoops()
end)
TriggerEvent('esx:loadingScreenOff')
*I put it under here*
end)
try to play around with StopCutSceneImmediately if you want to cut off the Lamar part
Hey did you ever figure this out?
it’s easy to edit ~
at TriggerMusicEvent(“AC_STOP”) bottom
add
SetEntityHeading(plyrId, 330.02)
SetEntityCoordsNoOffset(plyrId, -1045.18, -2752.45, 21.36, 0)
it’s will work
Hello! Anybody that knows how to fix the peds in the background of the plane?
what about putting them in the last location before a player logged out?
Anybody knows a way to change the type of plane? I’ve made a shamal reskin so I’d love to use that one instead of the standard one.
How can I start the cutscene with skinchanger save? i dont find a trigger event location
It seems like things don’t fully load as a female ped?
Hi no is impossible because is juste a premade video used on gtaV he can’t change this
That didnt do anything for me
you can do this
Wait(31520) --- custscene time
for v_3=0, 6, 1 do
DeleteEntity(ped[v_3])
end
PrepareMusicEvent("AC_STOP")
TriggerMusicEvent("AC_STOP")
DoScreenFadeOut(2000)
SetEntityCoords(GetPlayerPed(-1), airportpos.x, airportpos.y, airportpos.z)
Citizen.Wait(2000)
StopCutsceneImmediately()
DoScreenFadeIn(1000)
SetEntityCoords(GetPlayerPed(-1), airportpos.x, airportpos.y, airportpos.z)
Wait(1000)
TriggerEvent("qb-clothing:client:openMenu")
and just change the clothing since your prob dont have and if you need the SetEntityCoords i will send it
Hey, thought i wrote it already but apparently i forgot, I’ve already managed to do it, but i really appreciate the response none the less!
how can i start it after the loading screen? to then continue with the identity and personalization of the character?
Hi Can Some One Help Me With This… I Am Using QBCore… And I Want This CutScene After Creating The Character… For An Example New FiveM Multicharacter | Qbus multi character UI | Made by Luckshya - YouTube