Jump to content
  • 0

[SOLVED] Script Needed (Only to remove 2 gates) PLEASE


kalyn

Question

Hi guys!

I need help whit a little script for removing 2 gates from the Area51 because I don't need them in my server but I don't have any ideea how to use remoweWorldObject.

I will be werry grateful if anyone can help me.

mta-screen_2012-08-15_17-28-58.png

mta-screen_2012-08-15_17-30-47.png

Edited by Guest
Link to comment

12 answers to this question

Recommended Posts

  • 0
ok, try this:
addEventHandler("onResourceStart",resourceRoot,function(res) 
    if res == getThisResource() then 
        removeWorldModel(16094,15,135.17442 1941.87561 19.32008) 
    end 
end) 

And to make it like a resource or to put it in the map folder and in the map's meta?!

Link to comment
  • 0
oh, I'll send you the resource

EDIT:

here:http://www.mediafire.com/?srv0mad8bvkad81

nope, is still there, the only thing that changed is that now if i look at him in certain angle it blips (dissapear/appear)....

mta-screen_2012-08-16_21-48-58.png

Here is when it blips but I'm still stopped by it...

mta-screen_2012-08-16_21-50-14.png

Link to comment
  • 0
I think there's another object in it

Nope, the COL was wrong, I inserted the right one from SAMP Map Converter and now the script works, thanks a lot for your help.

I have one more question: from where did you get the coordinates of the object, I mean is a big one, how I can get coordinates for other objects that can work?!

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