Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
local playerPed = GetPlayerPed(-1)
local playerLocalisation = GetEntityCoords(playerPed)
ClearAreaOfCops(playerLocalisation.x, playerLocalisation.y, playerLocalisation.z, 400.0)
end
end)
but ClearAreaOfCops always clear the els vehicle… so which mean… if you have a command to spawn police car… you’ll not able to see it… becuz ClearAreaOfCops delete the the vehicle in this loop. so no more els car
This isn’t the thing… It’s for disabling specific models when ScriptHook is not disabled…
It only goes for the specific player model not any AI’s, I guess…