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" />
manve1 Posted December 28, 2012 Posted December 28, 2012 because meta is wrong: should be: Looking for tutorials or information? check out: www.simpleask.co.uk
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) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
benwilkins Posted December 28, 2012 Author Posted December 28, 2012 Clientside fixed it. Thank you snake.
Castillo Posted December 28, 2012 Posted December 28, 2012 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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