benwilkins Posted December 28, 2012 Posted December 28, 2012 On linux this would remove the world object, but I have just put the server onto Windows, and it doesnt do anything. I restart the resource, reconnect, and it is still there. deleteworld.lua: function start() --Warehouse removeWorldModel(5397, 200, 1928, -1762, 25) removeWorldModel(5536, 200, 1928, -1762, 25) --LOD end addEventHandler("onResourceStart", getResourceRootElement(), start) meta: client="1.3.0" server="1.3.0" />
Castillo Posted December 28, 2012 Posted December 28, 2012 Try to change it to client side: function start() --Warehouse removeWorldModel(5397, 200, 1928, -1762, 25) removeWorldModel(5536, 200, 1928, -1762, 25) --LOD end addEventHandler("onClientResourceStart", resourceRoot, start)
benwilkins Posted December 28, 2012 Author Posted December 28, 2012 Clientside fixed it. Thank you snake.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now