https://wiki.multitheftauto.com/wiki/SetLowLODElement
*Hint* *Hint* If your models are optimized enough you can use the same id for both the low lod and the original model without lag.'
for i,v in pairs getElementsByType("object",resourceRoot) do
local x,y,z = getElementPosition(v)
local xr,yr,zr = getElementRotation(v)
setLowLODElement(v,createObject ( getElementModel(v), x,y,z,xr,yr,zr,true )
end