Jump to content

Map problem


SkubiPL

Recommended Posts

Hi. I have problem because when i delate the objest from the map something like this is happining. I cant explain this so i git pistures.

In this one is everything ok.

http://img52.imageshack.us/img52/3600/mtascreen20120831011938.png

But i this one the objests are gone but i did not delate.

http://img19.imageshack.us/img19/6452/mtascreen20120831011932.png

And one more example

http://img51.imageshack.us/img51/2351/mtascreen20120831011948.png

http://img401.imageshack.us/img401/9401/mtascreen20120831011953.png

My script look like this.

function start() 
removeWorldModel(4025, 300, 1777.8359, -1773.9063, 12.5234); 
removeWorldModel(4019, 300, 1777.8359, -1773.9063, 12.5234); 
removeWorldModel(4215, 300, 1777.5547, -1775.0391, 36.7500); 
end 
addEventHandler("onResourceStart", getResourceRootElement(), start) 

Please help me

Link to comment

Remove the ;

You're not working in any tables, so no comma's are needed.

  
function start() 
removeWorldModel(4025, 300, 1777.8359, -1773.9063, 12.5234) 
removeWorldModel(4019, 300, 1777.8359, -1773.9063, 12.5234) 
removeWorldModel(4215, 300, 1777.5547, -1775.0391, 36.7500) 
end 
addEventHandler("onResourceStart", getResourceRootElement(), start) 
  

Link to comment
  • 2 weeks later...
  • 3 weeks later...

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...