Dev Posted May 7, 2013 Share Posted May 7, 2013 Hey there, I'm trying to use removeWorldModel server side to remove a desk ( ID: 2198 ) placed in interior 0 & dimension 200. The script is working fine, but it's not removing the object at all. There's no error in /debugscript 3 and I'm running the script in map editor. Server Side: addEventHandler ( 'onResourceStart', resourceRoot, function ( ) outputChatBox ( 'Resource working!', getRandomPlayer( ), 0, 255, 0 ) -- Outputs fine. removeWorldModel ( 2198, 20.00, 234.169921875, 122.7529296875, 1003.21875, 0 ) end ) Meta: <meta> <min_mta_version server="1.2.0-9.03618" client="1.2.0-9.03618" /> <script src='server.lua' type='server'/> </meta> Link to comment
Dev Posted May 7, 2013 Author Share Posted May 7, 2013 Nevermind, the object was actually in interior 10, it's working now. 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