Hey guys, how can I concat a table without the first argument?
if args[1] == "announce" then
ply:SendLua('chat.AddText(Color(255, 0, 234),"'..table.concat(args, " ")..'")')
lolol cheesy photo done in 20 secs in photoshop
Hey guys, how can I concat a table without the first argument?
if args[1] == "announce" then
ply:SendLua('chat.AddText(Color(255, 0, 234),"'..table.concat(args, " ")..'")')
lolol cheesy photo done in 20 secs in photoshop
From the wiki:
table.concat( Table table, [ String separator, Number start location, Number end location] )
Aka
table.concat({"derp","Gmod"}," ",2)
It even tells you on the maurits wiki.
print(table.concat(test_table," ")) // Prints "This is a table concat test!"
print(table.concat(test_table," ",2,5)) // Prints "is a table concat"
Oh, k