Hello !
I have created a button in a menu and I would like that when a person click an order in chat is made .
Here is my code:
Button.DoClick = function()
Frame:Close()
end
Hello !
I have created a button in a menu and I would like that when a person click an order in chat is made .
Here is my code:
Button.DoClick = function()
Frame:Close()
end
Could you reword your question and be more specific? I am unsure of what you’re trying to do.
In Fact I would like that when one clicks on a button in a menu a command executed in the chat
Ideally, you would want to call the function that the chat command is linked to directly. In the case where that’s not possible, you could call RunConCommand(“say”, “/some_command”)
Ok thanks you man !