Yeah, using those two elements I'm trying to make a chatbox, basically, what anyone says gets stored into an array, a for loop goes through this array and then uses DPanelList:AddItem, to add the text, now where it's failing is that it adds the text hundreds of times over and over and over again. Can anyone help me with just making it add ONCE?
-Dex
After the chat message has been added to the panel do table.remove(tablename,id)
So say at the end of the loop you would have
[code]
table.remove(chatmessages,k)
[/code]
Oh thanks, i see how that would work, i will try that in the morning then.
Sorry, you need to Log In to post a reply to this thread.