ox_inventory icon indicating copy to clipboard operation
ox_inventory copied to clipboard

Need Help with Marker scale

Open BuddahScripts opened this issue 8 months ago • 8 comments

try to scale my marker to where it sits on the floor

setr inventory:shopmarker { "type": 27, "colour": [70, 130, 180], "scale": [0.0, 0.0, 0.0] } is set but this doesnt control can anyone help

Image

BuddahScripts avatar Apr 17 '25 20:04 BuddahScripts

This feature was added in b083800 but no new release has been made since. You'll need to download the source code to integrate the feature.

Maximus7474 avatar Apr 17 '25 20:04 Maximus7474

This feature was added in b083800 but no new release has been made since. You'll need to download the source code to integrate the feature.

ok ive intergrated the features now one last thing am changing from config.cfg because if so its not changing or do i set the setr for the marker in server/cfg or do i change from intit.lua ?

BuddahScripts avatar Apr 18 '25 19:04 BuddahScripts

As is stated in the init.lua:

-- Do not modify this file at all. This isn't a "config" file. You want to change
-- resource settings? Use convars like you were told in the documentation.
-- You did read the docs, right? Probably not, if you're here.
-- https://overextended.dev/ox_inventory#config

Maximus7474 avatar Apr 18 '25 19:04 Maximus7474

As is stated in the init.lua:

-- Do not modify this file at all. This isn't a "config" file. You want to change -- resource settings? Use convars like you were told in the documentation. -- You did read the docs, right? Probably not, if you're here. -- https://overextended.dev/ox_inventory#config

dude the setr convars for the markers in the config.cfg are not changing anything i read the docs but if its not changing anything im trying to understand why?!? I INTERGRATED the new lua no errors so do i add the setr marker convars in my server.cfg or literally the only thing not working are those marker convars .. im just trying to change the markers and scale them to my liking.. yea im on here to get help ! Probably why i am HERE ...

BuddahScripts avatar Apr 18 '25 19:04 BuddahScripts

You said you did the update, so I'm supposing you did it correctly so therefor the convars should work. If they don't then it means you did something wrong, and there's no way for me to say what because I don't know what you did exactly.

The convars work, I've been using them pretty much since they were PR'd

Maximus7474 avatar Apr 18 '25 19:04 Maximus7474

This feature was added in b083800 but no new release has been made since. You'll need to download the source code to integrate the feature.

i intergrated the exact lua files that were updated from [b083800] to my ox_inventory i can say after i intergrated the scale size of the markers decreased but when i try and change from the config.cfg marker portion nothing happens

BuddahScripts avatar Apr 18 '25 20:04 BuddahScripts

Are you executing the convars before you started the inventory ?

Maximus7474 avatar Apr 18 '25 20:04 Maximus7474