demojoel Posted June 3, 2012 Posted June 3, 2012 What is the "float x, float y, float z" used for in removeWorldModel?
Castillo Posted June 3, 2012 Posted June 3, 2012 From that position to the radius you set will start removing the world objects.
demojoel Posted June 3, 2012 Author Posted June 3, 2012 Is this correct? function removeWorldModel() removeWorldModel(1260,200,615,-1509,30) -- Billboard removeWorldModel(0,200,615,-1509,30) -- Billboard end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), removeWorldModel)
Castillo Posted June 3, 2012 Posted June 3, 2012 Never call a function of your own like a native MTA function.
Castillo Posted June 3, 2012 Posted June 3, 2012 function removeWorldModel() -- [b]Here, call it something else[/b]. removeWorldModel(1260,200,615,-1509,30) -- Billboard removeWorldModel(0,200,615,-1509,30) -- Billboard end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), removeWorldModel) Read my comment.
BorderLine Posted June 3, 2012 Posted June 3, 2012 isnt nesesary make the function just put removeWorldModel(1260,200,615,-1509,30) removeWorldModel(0,200,615,-1509,30) and give it more radious
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