[Release][C#] VStancer

Is there a way to disable the keybind entirely so it can be used only via the /command or the provided exports? (vstancer:toggleMenu) Currently i’m assuming there is no way to do so (based off my testing.) Aside from setting the keybind to like 239.

Not a big deal if not though. You provided the needed exports to create another menu.

If you want to disable keybind but still be able to open the menu with command or event, you have to set ToggleMenuControl to -1.
If you want to disable menu entirely you can set DisableMenu to true

What’s your problem?

1 Like

No problem :stuck_out_tongue: you answered my question with the -1.

We use to have VStancer in our server but we needed to remove it due to it increasing the speed of cars when the wheels were positioned in a specific way. Does anyone know if its fixed now where it won’t speed up cars at all?

There is no problem there.

Hey would it be possible to set this script in such a way that depending on the server rank/role people could get access to more features of this script? For example if I am a mechanic on an RP server I would like to have access to the camber options and preset options, so that when I go to tune a person’s car, I can camber it and the person being a normal player and not a mechanic can only save his camber preset without changing his settings so that everytime he spawns his car camber automatically or manually applies on it? I don’t know if I explained myself there :slight_smile:

is there a way for me to make it so when i put my car in the garage it saves the preset of the stance

So I’m having an issue with even getting this script to load. Put in start config as stated and get an error when joining the server. Says can’t open resource.lua.

You’ve probably downloaded the source files instead of the release.

I downloaded the release. It has a fxmanifest.lua though, not a __resource.lua so is that why its not starting?

the script is only working for me, if other people change it doesn’t change on my screen

Does someone know how i can make sure the modifications are saved when someone places the vehicle into a garage.

@jdean95 Show me a pic of your folder.
@Redlex is it on onesync?
@Dutchy30 you have to implement it in your own garage script using the vstancer API

Hello I was wondering is it possible to make it on fiveM Rp serves this Vstancer. So only mechanic can use this menu?

Also how to change default button f6 to like { or something like that?

yes it is

how do you implement using the vstancer api

@Neos7
Same with me, when I’m around other players and change the wheel size/width, it doesn’t change for them. I’m not sure about wheel offsets thought, but I think camber changes.

I will look into it as soon as possible
Meanwhile could you give more details?
It doesn’t sync when you edit a property from the menu or when you apply a preset or both?
Does it happen with both properties from “Wheel Menu” (camber and track width) and “Wheel Mod Menu” (size and width)?
@Redlex @meeks726

I’ve also pushed an update to the development branch, if you can download the artifact and let me know if this already fixed it

Use the GetWheelPreset to get the data and save it along with the other data of you garage script

Then use the SetWheelPreset to restore such data.