Jump to content

How to remove fence


Recommended Posts

Posted

You can use the function removeWorldModel ( click on the function name to go to the wiki page ).

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

Yeah, I guess so. You must learn the syntax of the function and use it for your fence.

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

That's just an example, you must fill the arguments of the function with your data.

removeWorldModel ( int modelID, float radius, float x, float y, float z ) 

P.S: "i" in that example is the object model.

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

Oh, c'mon, you're that lazy? just go to the wiki page and take some time to understand how it works.

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

I already told you what to do, now read the function syntax.

I won't reply anymore.

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

Are you joking? Have you read the function syntax? You have too many arguments in your example.

Software Engineer & Entrepreneur Running Lustrel and VilarikA • Highly engaged on open source community

Posted
removeWorldModel ( 1411, 5, 347.20001220703, 1799.1999511719, 18.799999237061, 0, 0, 215 ) 

What mean the last three arguments?

Software Engineer & Entrepreneur Running Lustrel and VilarikA • Highly engaged on open source community

Posted (edited)
Syntax
bool removeWorldModel ( int modelID, float radius, float x, float y, float z ) 

[edit] Required Arguments

modelID: A whole integer specifying the GTASA object model ID.

radius: A floating point number representing the radius that will be eliminated.

x: A floating point number representing the X coordinate on the map.

y: A floating point number representing the Y coordinate on the map.

z: A floating point number representing the Z coordinate on the map.

try this:

removeWorldModel ( 1411, 5, 347.20001220703, 1799.1999511719, 18.799999237061) 

Edited by Guest

My in-game name: Jaysds1

Retired CMG Scripter

World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode

Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/

 

sE5Qm.png

TiV3C.png

img.php?id=0&text=Lua%20Scripter

Posted
Syntax

bool removeWorldModel ( int modelID, float radius, float x, float y, float z )

[edit] Required Arguments

modelID: A whole integer specifying the GTASA object model ID.

radius: A floating point number representing the radius that will be eliminated.

x: A floating point number representing the X coordinate on the map.

y: A floating point number representing the Y coordinate on the map.

z: A floating point number representing the Z coordinate on the map.

try this:

removeWorldModel ( 1411, 5, 347.20001220703, 1799.1999511719, 18.799999237061) 

thnx bro its work that 0, 0, 215 i think i need rotation :)

Posted

If the function does not ask the rotation, you should not use. Anyway, at least you tried.

Software Engineer & Entrepreneur Running Lustrel and VilarikA • Highly engaged on open source community

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