Hi to all, I asked almost everyone I know (those who know to script in Lua) how to fix this. Pretty annoying issue, I don't know why It happens.
I made script with removeWorldModel bool. Here is it:
function start()
--here should be models that needs to get deleted--
end
addEventHandler("onResourceStart", getResourceRootElement(), start)
It looks like this above. removeWorldModel is like this for me [model ID] [10] [x] [y] [z] and nothing more. It deletes buildings, but when I reconnect they are back and buildings I loaded in my map are inside those that need to get deleted.
Meta.xml looks like this:
"Bull" type="script" name="Remove Objs"/>
My MTA version is newest one, I tried the object remover resource, but I don't like it, prefer more the scripting way becuz some of objects can't get deleted.
I'll be thankful If you help me.