Jump to content

How to get LOD object ID?


H5N1

Recommended Posts

Posted

Hello, anybody knows how to get LOD object ID when you know ID of normal object? It would be nice if it will be serverside, but clientside is also acceptable.

  • Moderators
Posted

Maybe study first the object creation syntax.

object createObject ( int modelid, float x, float y, float z, [ float rx, float ry, float rz, bool isLowLOD = false ] ) 

set last argument to true.

and

https://wiki.multitheftauto.com/wiki/GetLowLODElement

and

https://wiki.multitheftauto.com/wiki/SetLowLODElement

and

https://wiki.multitheftauto.com/wiki/IsElementLowLOD

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Posted

Just aim with the cursor over the object,

Then you will see "Object ID | Object LOD" ..

350x20.png

Impossible is a word to be found only in the dictionary of fools.

Napoleon Bonaparte

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