generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Simple Chat System Gui

Previous Thread :: Next Thread 
Vaccam is not online. Vaccam
Joined: 20 Aug 2013
Total Posts: 2545
20 Jan 2014 12:38 PM
http://www.roblox.com/Simple-Chat-System-v1-1-item?id=142824249

Simple look but much more functionable than roblox's chat gui!
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
20 Jan 2014 12:39 PM
pls, look what i made
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
20 Jan 2014 01:00 PM
1: RemoteEvent
2: LocalScript
3: Tables
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
20 Jan 2014 01:01 PM
4: RemoteFunction

Cant forget the RemoteFunction!
Report Abuse
Vaccam is not online. Vaccam
Joined: 20 Aug 2013
Total Posts: 2545
20 Jan 2014 01:02 PM
? @unknown
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
20 Jan 2014 01:03 PM
Please go to the "I Made That" sub-forum and do not reply here any further.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
20 Jan 2014 01:07 PM
There is a script which gets when a player chats and adds it to a table (Along with the color and whatnot)
When a client joins/respawns their LocalScript calls a RemoteFunction to get a duplicate of the table of current chat messages.
When a player chats, their message and color and stuff are added to the table, and the RemoteEvent is called on every player with the new table of chat messages/the new chat message + color + whatever and they do it themselves.
You then take the tables and stuff and create the GUI elements with it.
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
20 Jan 2014 01:44 PM
@Not

Why is the RemoteFunction necessary? Isn't it just better to use FireClient() with the RemoteEvent for that or am I missing something here?
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
20 Jan 2014 01:51 PM
Hmm... You have a fair point there. I just think it makes it look... cleaner.
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
20 Jan 2014 02:11 PM
Well, it probably leaves out an if statement anyways.

I just wanna know though :(.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
20 Jan 2014 02:14 PM
I chose RemoteFunction for this reason:

RemoteFunction.onClientInvoke = function()
return tableOfChat
end
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
20 Jan 2014 02:15 PM
>return

WOT
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
20 Jan 2014 02:17 PM
Huh, that explains why on the wiki it says the InvokeClient and InvokeServer return "Tuple".
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
20 Jan 2014 02:17 PM
Well what do you think functions are for?
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
20 Jan 2014 02:20 PM
Well, instead of using return I just sent the value back as a parameter with Invoke..(Whatever).
Report Abuse
Vaccam is not online. Vaccam
Joined: 20 Aug 2013
Total Posts: 2545
20 Jan 2014 02:27 PM
I don't like using events

Cause i've ran into problems when you overload them

My system is much more simple...
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
20 Jan 2014 02:31 PM
Not an issue with mine...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image