Jump to content

World Object Deleteing. * new *


xXMADEXx

Recommended Posts

Hey guys, from my other script i have inproved my script so now it is a client side:

addEventHandler ( "onClientResourceStart", resourceRoot, function () 
             for i=0, 10000 do 
                    modelName = engineGetModelNameFromID ( 4990 ) 
                    if string.find ( modelName, "airprtwlkto1_LAS" ) then 
                              removeWorldModel(4990, 1000, 1646.1999511719, -2414.1999511719, 17.89999961853) 
                    end 
             end 
    end ) 
  

And it works great, but the object still spawns. it will spawn so you can see it but its not there, you can just go throu it. If you can help please do so. :(

This is what i mean: http://imageshack.us/a/img600/5912/mtas ... 230237.png

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