benwilkins Posted December 28, 2012 Share 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" /> Link to comment
manve1 Posted December 28, 2012 Share Posted December 28, 2012 because meta is wrong: should be: Link to comment
benwilkins Posted December 28, 2012 Author Share Posted December 28, 2012 Still doesnt work Link to comment
Castillo Posted December 28, 2012 Share 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) Link to comment
benwilkins Posted December 28, 2012 Author Share Posted December 28, 2012 Clientside fixed it. Thank you snake. Link to comment
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