demojoel Posted June 3, 2012 Share Posted June 3, 2012 What is the "float x, float y, float z" used for in removeWorldModel? Link to comment
Castillo Posted June 3, 2012 Share Posted June 3, 2012 From that position to the radius you set will start removing the world objects. Link to comment
demojoel Posted June 3, 2012 Author Share 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) Link to comment
Castillo Posted June 3, 2012 Share Posted June 3, 2012 Never call a function of your own like a native MTA function. Link to comment
demojoel Posted June 3, 2012 Author Share Posted June 3, 2012 What do you mean by that? Link to comment
Castillo Posted June 3, 2012 Share 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. Link to comment
BorderLine Posted June 3, 2012 Share 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 Link to comment
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