Razor70538 Posted March 18, 2019 Share Posted March 18, 2019 Hello, I have a doubt! Supose that exist a team named "The Intocables", so I want create a marker with the color of this team, but when I put the command "createwarp The Intocables" I have a problem with the parameters, because in the command it takes "The" and "Intocables" as two different parameters, so I can't take the team from name correctly. So my question is: Wich is the character of the space for commands? Can I do something like this? : createwarp The%Intocables or: createwarp The_Intocables. Help Link to comment
holuzs Posted March 18, 2019 Share Posted March 18, 2019 (edited) local clanName = table.concat({clanName}, " ") or clanName:gsub("_", " ") This replace underline with space. Edited March 18, 2019 by holuzs 1 Link to comment
Moderators IIYAMA Posted March 18, 2019 Moderators Share Posted March 18, 2019 (edited) function functionName (player, cmd, ...) local name = table.concat({...}, " ") end @Razor70538 Edited March 18, 2019 by IIYAMA 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