Ryuto Posted August 15, 2021 Posted August 15, 2021 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 IIYAMA Posted August 16, 2021 Moderators Posted August 16, 2021 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.) 1 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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