foxxrage Posted January 15, 2021 Share Posted January 15, 2021 (edited) Hello guys, I'd love to add something to my script, like when we write /help it appears a message on chat with some informations. I've been searching but can't find any help. I have tried this code, but sadly it doesn't work: function helpScript() outputChatBox("test",255,255,255,true) end addCommandHandler("help",helpScript) Thanks in advance! Edited January 15, 2021 by foxxrage Link to comment
Moderators Patrick Posted January 15, 2021 Moderators Share Posted January 15, 2021 Hi, and welcome on Forum! Your code looks correct and should work on client side. But.. probably the help command name is already in use, it's a hardcoded MTA command. Try to use something else. 1 Link to comment
foxxrage Posted January 15, 2021 Author Share Posted January 15, 2021 5 minutes ago, Patrick said: Hi, and welcome on Forum! Your code looks correct and should work on client side. But.. probably the help command name is already in use, it's a hardcoded MTA command. Try to use something else. Hello and thanks for this warm welcome. Omg yes, I used a different command now, and it worked! Thanks bro! Link to comment
Moderators Patrick Posted January 15, 2021 Moderators Share Posted January 15, 2021 Just now, foxxrage said: Hello and thanks for this warm welcome. Omg yes, I used a different command now, and it worked! Thanks bro! Welcome 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now