Jump to content

removeWorld


BorderLine

Recommended Posts

Hi everyone. I have a question

Well when my MTA was the version 1.3 the removeWorld worked fine

but with the new relased version (1.3.1) removeWorld dont work

Why is this happening? Should change some things on server?

or add somecode to remove world

i added this.

function remove () 
    local version = getVersion() 
    if version.mta == "1.3.1" then 
removeWorldModel ( 16094, 500, 135, 1941, 19.29 ) 
removeWorldModel ( 16094, 500, 282, 1821, 17.6 ) 
removeWorldModel ( 16671, 500, 282, 1821, 17.6 ) 
removeWorldModel ( 16668, 500, 282, 1821, 17.6 ) 
removeWorldModel ( 16670, 500, 282, 1821, 17.6 ) 
end 
end 
addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), remove ) 
  

and the code from another version was

function remove () 
removeWorldModel ( 16094, 500, 135, 1941, 19.29 ) 
removeWorldModel ( 16094, 500, 282, 1821, 17.6 ) 
removeWorldModel ( 16671, 500, 282, 1821, 17.6 ) 
removeWorldModel ( 16668, 500, 282, 1821, 17.6 ) 
removeWorldModel ( 16670, 500, 282, 1821, 17.6 ) 
end 
end  

Thanks for your time

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...