Adding Unbox button to my f4 menu
Last read Never
If i wanna make it so that when i click button in my f4 mrnu in order to open a chat command which is !unbox how do i do that?
I have the button but idk how exactly to do it, any help?
enabled = true,
name = "UNBOXING",
description = "unbox special packages",
buttonNormal = Color( 145, 71, 101, 190 ),
buttonHover = Color( 145, 71, 101, 240 ),
textNormal = Color ( 255, 255, 255, 255 ),
textHover = Color( 255, 255, 255, 255 ),
func = function()
},
What unboxing addon are you using? Perhaps make a job instead of a thread?
What F4 menu are you using?
What has this got to do with gmodstore?
https://www.gmodstore.com/scripts/view/1679/arivia-the-darkrp-f4-menu-plaxus-collection
ByLAST OF USat 6th of August 2018 15:28:44
If i wanna make it so that when i click button in my f4 mrnu in order to open a chat command which is !unbox how do i do that?I have the button but idk how exactly to do it, any help?enabled = true,name = "UNBOXING",description = "unbox special packages",buttonNormal = Color( 145, 71, 101, 190 ),buttonHover = Color( 145, 71, 101, 240 ),textNormal = Color ( 255, 255, 255, 255 ),textHover = Color( 255, 255, 255, 255 ),func = function()},
{
enabled = true,
name = "UNBOX",
description = "Open up the Unboxing menu!",
//icon = "arivia_button_workshop.png", -- Suggesting editing this, though this one will be fine :)
buttonNormal = Color(124, 51, 50, 190),
buttonHover = Color(124, 51, 50, 240),
textNormal = Color(255, 255, 255, 255),
textHover = Color(255, 255, 255, 255),
func = function()
RunConsoleCommand("say !unbox")
end
}
ByObitus [ON HOLIDAY / BACK 20th AUGUST]at 7th of August 2018 23:51:05
RunConsoleCommand requires the correct use of arguments:
...
RunConsoleCommand("say", "!unbox")
...
Or use LocalPlayer():ConCommand(“say !unbox”)
In the future simple questions like this is more for facepunch or post a $5 job if you can’t google it
OR if you own the script try support tickets. Guess some devs will help with easy stuff like this
Users viewing this thread
Nobody