Jump to content

removeWorldModel


Recommended Posts

Posted

From that position to the radius you set will start removing the world objects.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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) 
  

Posted

Never call a function of your own like a native MTA function.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

isnt nesesary make the function

just put

removeWorldModel(1260,200,615,-1509,30)   
    removeWorldModel(0,200,615,-1509,30) 

and give it more radious

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

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