CreateThread(function()
while not DoesEntityExist(PlayerPedId()) do
Wait(0)
end
while not NetworkIsPlayerActive(PlayerId()) do
Wait(0)
end
-- The default dimensions provided here are only for mp freemode peds
if GetEntityModel(PlayerPedId()) ~= GetHashKey('mp_m_freemode_01') or GetEntityModel(PlayerPedId()) ~= GetHashKey('mp_f_freemode_01') then
return
end
local model = GetEntityModel(PlayerPedId())
local min, max = GetModelDimensions(model)
if min ~= vector3(-0.6095175, -0.25, -1.3) or max ~= vector3(0.6099811, 0.25, 0.945) then
-- player has a modified hitbox ('x64a.rpf')
end
end)
people like you are the reason modders are sometimes a big issue on fivem