rusztamas Posted March 27, 2016 Share Posted March 27, 2016 Hello guys! I have a question for example i created a client sided script, and i used outputChatBox like this: function output() outputChatBox ("Test", root, 255, 255, 255, true) --Do we need the "root" argument? end addCommandHandler ("outpt", output) Link to comment
0 Mr_Moose Posted March 30, 2016 Share Posted March 30, 2016 As far as I know most arguments are optional but if you want to use them you should define them. For a client sided command handler like in your example your arguments are: command - A string representing the command, (outpt in this case) argument[1] - Any argument (word) after the command. ... Also outputChatBox does not have any player argument in client side, it's only visible to the local player. You'll find excellent documentation on all that in the wiki. Link to comment
Question
rusztamas
Hello guys!
I have a question for example i created a client sided script, and i used outputChatBox like this:
Link to comment
1 answer to this question
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