Jump to content

[HELP] Change dimensions of a 3d object


Ryuto

Recommended Posts

Posted

Hello, I am creating an accessory system for my server and my question is how to change the dimensions of a 3d object, there is already a similar system in samp servers and here I leave an example of what I am looking for.
 

https://www.youtube.com/watch?v=hWN5NYcR-qQ&list=LL&index=1&t=494s

 

(See minute 07:47 and also minute 08:04 of the video)

 

Is it possible to do this? What functions could you use to change the width or height dimensions?

 

 

  • Moderators
Posted
11 hours ago, Ryuto said:

use to change the width or height dimensions

The following function can change the scale over the x, y and z axis:

https://wiki.multitheftauto.com/wiki/SetObjectScale

Which would have the same outcome. (requires a relative value instead of an absolute value.)

  • Thanks 1

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

 

  Useful functions  3x 

  Tutorials  4x 

 

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