Search the Community
Showing results for tags 'removeworldmodel'.
-
Hello everyone, i was wondering if there's a way to make some models exceptions on this code, that is supposed to delete all GTA default models but i need the ints to not be deleted so i want to know how can i make exceptions for some interior models.. addEventHandler("onResourceStart", resourceRoot, function() for i=550, 20000 do removeWorldModel(i, 10000, 0, 0, 0) setOcclusionsEnabled(false) end end)
-
Necesito saber como puedo ejecutarlo en mi propio servidor: Lo que hace es eliminar absolutamente todos los modelos en el mapeo. for i=550,20000 do i=550,20000 do removeWorldModel(i,10000,0,0,0) endend setOcclusionsEnabled(false) -- Also disable occlusions when removing certain models setWaterLevel(-5000) -- Also hide the default water as it will be full of holes Intenté crearlo como un resource agregándole el meta.xml pero no me funcionó. Fuente: https://wiki.multitheftauto.com/wiki/RemoveWorldModel Créditos: https://forum.multitheftauto.com/profile/44464-ryuto/
-
This script removes every single default map object (except the ones I need), the problem is that if affects every single dimension, is there a way to make removeWorldModel delete the objects only in dimension 54? I want to build a new map in that dimension while leaving the default map on dimension 0 intact. thanks in advance! local ignoreObjects = { [3990]=true, [4131]=true, } for i=550,20000 do if not ignoreObjects[i] then removeWorldModel(i,10000,0,0,0) end end setOcclusionsEnabled(false)