Hello
When you send the advert is pops up with a number near the top. Usually says ad 1 or ad 24. This is not a counter it Is a player number so you can see who sent the message
Hello
When you send the advert is pops up with a number near the top. Usually says ad 1 or ad 24. This is not a counter it Is a player number so you can see who sent the message
@nonstopgamer Yes, to use the password you need to be using the /onduty
command.
Example: /onduty leo *pswd*
XD ofc nice ty
So when you using the /onduty
command and open the menu the leo section doesn’t appear? and you don’t get any errors in either your client or server consoles?
My menu isnt working
How Do I change it to where I can access It in my Car
I can’t change anything in config without it saying "Unexpected symbol near ‘<\239>’ yet all I did was change the title?
i can drag people but whenever i do /cuff (id) or i do cuff in the menu it does nothing and when i do seat player it will put them in but they will teleport back out @Scott1
Hey @Scott1, I have done so much to the menu ever since I last needed help. Everything is going fine. But I do want help with one more thing, I have tried many times, but failed, I am trying add a checkbox item that allows the player to change the position of the menu. Here is the code I have right now.
local Settings = _MenuPool:AddSubMenu(MainMenu, 'Settings', '', true)
Settings:SetMenuWidthOffset(Config.MenuWidth)
local TogglePosition = NativeUI.CreateCheckboxItem("Toggle Menu Position", Right, "")
Settings:AddItem(TogglePosition)
TogglePosition.OnCheckboxChange = function(sender, TogglePosition, checked_)
if TogglePosition == Right then
Right = checked_
if Config.MenuOrientation == 0 then
MenuOri = 0
elseif Config.MenuOrientation == 1 then
MenuOri = 1320
else
MenuOri = 0
end
end
end
The checkbox does work, but it doesnt change the position.
Edit: Just noticed that if I close then reopen the menu, The checkbox doesnt save. How do I fix this?
@ericmack114 The keybind you set may be affecting this, try changing it to something else to see if it helps
@Brady Do you use a VPS to edit the config.lua
?
@DOiJ I have got reports of these issues, I’m working on try to find the cause of these and issue a bug fix release
@XdGoldenTiger You will need to add a variables for these outside of the Menu()
function
I got it fixed make sure u dont have Cops_FiveM installed
How would I add the variables? I am new to this whole variable thing.
Hey @Scott1, Also, How would I add the :RightLabel()
to my sub menus? | I have asked Frazzle, but he doesnt make scense, And you should know as you where the one that made SEM with NativeUI dependencies
If you guys want to add Right arrows to your items/submenus using the nativeui.lua dependiencie then look at this reply that Frazzle made showing how to do this.
Reply Post Link: [Request] Converting a .cs script to LUA
Screenshot of RightLabel Working with SEM_InteractionMenu. (My script might look different, I am currently ideting it to suit my community )
how to make it permissions for police only
Checkout config.lua
- Config.LEOAccess