yea get this also when sitting in the passenger seat the head animation keeps moving like its trying to switch seats
I discovered shuffling in a HVY APC wasnāt quite working right, as Iād shuffle to the gun seat using the gameās shuffle mechanic, and then attempt to shuffle backā¦ Except, Iād have to run the shuffle command, and then also hold the headlight button to trigger the gameās shuffle mechanic in order to get back into the driverās seat.
I created a function that detects if the player is in a HVY APC or a BF Dune FAV in order to stop the script form running in these vehicles.
function checkOmitList()
--[[
Check for vehicles that allow shuffling normally
Hash Vehicle
562680400 HVY APC
1897744184 BF Dune FAV
]]
local vID --[[ Vehicle ]] =
GetVehiclePedIsIn(
GetPlayerPed(-1) --[[ Ped ]],
false --[[ boolean ]]
)
local cVM --[[ Hash ]] =
GetEntityModel(
vID --[[ Entity ]]
)
--print("Player is in entity " .. vID .. " which is " .. cVM) --Debug code to find vehicle IDs
if cVM == 562680400 or cVM == 1897744184 then
return false
else
return true
end
end
I then modified the line that checks if the player is in a vehicle to call this function.
if IsPedInAnyVehicle(GetPlayerPed(-1), false) and disableShuffle and checkOmitList() then
Having issue where people are constantly being kicked out of their vehicle when passengers.
rewrote the script , check the link at top of post
thank you! Iāll add it and credit you