sacr1ficez Posted July 1, 2019 Posted July 1, 2019 (edited) Hey. Is there any way to get string with spaces from arguments in command? For example i want to get complete string when using command: /getstring String with spaces So it doesn't count as other arguments, and it should return one complete string. Edited July 1, 2019 by majqq
Moderators IIYAMA Posted July 1, 2019 Moderators Posted July 1, 2019 (edited) function test (arg1, arg2, ...) local restOf = table.concat({...}, " ") end ... < dynamic arguments. function test2 (...) setElementPosition(...) end test2(element, 1220, 100, 100) Edited July 1, 2019 by IIYAMA 1
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