Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radial menu error in console #116

Open
twigmasters opened this issue Apr 14, 2022 · 5 comments
Open

radial menu error in console #116

twigmasters opened this issue Apr 14, 2022 · 5 comments

Comments

@twigmasters
Copy link

I just tried to install this and I am having an error where the radial menu wont open due to an error with the code I added.

Says something about "attempt to call a nil value (global 'AddOption')

It points to the line "garaIndex = AddOption(GaragesMenu, garaIndex)" from the code to be added to radial menu client/main.lua

Any ideas? I updated to the most current version of radial menu as well.

@daddyDUBZ
Copy link

You need to move that function that was added. It is in the wrong position.

@twigmasters
Copy link
Author

I found where it needed to go. I didnt know if had to go right above ...

local function SetupSubItems()
SetupJobMenu()
SetupVehicleMenu()
SetupGaragesMenu()
end

@SmithyDevelopment
Copy link

what do you mean right above it?

@SmithyDevelopment
Copy link

is ok i figured out what to do

@aprhoona
Copy link

can you tell me what was the solution to the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants