Greetings all people! I hope you are all having a good day. I require a knowledgeable lua/.cs scripter to convert a specific script for me to lua for a server resource.
The script is linked below. I also could help you in exchange for helping me;)
Serious inquiries only.
hey @Frazzle, I know this topic is old, But how did you convert the cs to lua? Did you use an auto convert program or did you code it yourself? Because I want to use some vMenu features for my NativeUI project, but dont know how to add cs to my lua script. It would be great if you could help me
Wait⦠What am I asking You made vMenu. Let me try this again.
Hey Frazzle, With vMenu, you know how there are 3 right arrows for each sub menu. How would I add this to a NativeUILua script i am editing? I am using the SEM_InteractionMenu, But it doesnt use the same item style. Would love it if you responded Would I need to add/change something in the nativeui.lua dependencie for the sem menu?
I have thought of other random ways to use this function, but all it says is that it kept trying to index a nil value in the sem menu dependencie file nativeui.lua for (field βLabelβ) on line 880 return self.Label.Text:Text() - Line 880
Could you explain how I add the :RightLabel() function to my _MenuPool:AddSubMenu() item.
local SettingsItem = UIMenuItem.New("Settings", "Open the settings.")
SettingsItem:RightLabel("βββ")
MainMenu:AddItem(SettingsItem)
local SettingsMenu = UIMenu.New(MainMenu.Title:Text(), "Settings", MainMenu.Position.X, MainMenu.Position.Y)
_MenuPool:Add(SettingsMenu)
MainMenu:BindMenuToItem(SettingsMenu, SettingsItem)
or edit the addsubmenu func
function MenuPool:AddSubMenu(Menu, Text, Description, KeepPosition, KeepBanner, RightLabel)
if Menu() == "UIMenu" then
local Item = UIMenuItem.New(tostring(Text), Description or "")
Menu:AddItem(Item)
local SubMenu
if KeepPosition then
SubMenu = UIMenu.New(Menu.Title:Text(), Text, Menu.Position.X, Menu.Position.Y)
else
SubMenu = UIMenu.New(Menu.Title:Text(), Text)
end
if KeepBanner then
if Menu.Logo ~= nil then
SubMenu.Logo = Menu.Logo
else
SubMenu.Logo = nil
SubMenu.Banner = Menu.Banner
end
end
if RightLabel ~= "" and RightLabel ~= nil then
Item:RightLabel(RightLabel)
end
self:Add(SubMenu)
Menu:BindMenuToItem(SubMenu, Item)
return SubMenu
end
end
local Settings = _MenuPool:AddSubMenu(MainMenu, 'Settings', 'Open the settings.', true, false, "βββ")