Holy_Doge
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 1968 |
|
|
| 08 Jul 2016 11:40 PM |
Title should say it all, but here is the *paraphrased* script
-- ServerScript function FireEvent() RemoteEvent:FireAllClients("Message") end
--Localscript
RemoteEvent.OnClientEvent:connect(function(stuff) print(stuff) end)
Output : Nothing related to the remoteevents
|
|
|
| Report Abuse |
|
|
Holy_Doge
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 1968 |
|
|
| 08 Jul 2016 11:40 PM |
Add a FireEvent() in there, I forgot to do add that
|
|
|
| Report Abuse |
|
|
sparker22
|
  |
| Joined: 11 Mar 2010 |
| Total Posts: 846 |
|
|
| 08 Jul 2016 11:42 PM |
Have you ran a print before and fire the RemoteEvent firing in your function. It could be either 1. Your remote even isn't firing 2. You didn't attach a onclient even to the right remote event object. |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2016 11:44 PM |
You didn't call the function.
|
|
|
| Report Abuse |
|
|
sparker22
|
  |
| Joined: 11 Mar 2010 |
| Total Posts: 846 |
|
|
| 08 Jul 2016 11:46 PM |
@ RecurringNightmare
Read the second post. /derp |
|
|
| Report Abuse |
|
|
| |
|
sparker22
|
  |
| Joined: 11 Mar 2010 |
| Total Posts: 846 |
|
|
| 09 Jul 2016 12:42 AM |
@RecurringNightmare
'Add a FireEvent() in there, I forgot to do add that'
-- ServerScript function FireEvent() RemoteEvent:FireAllClients("Message") end FireEvent() --Localscript
RemoteEvent.OnClientEvent:connect(function(stuff) print(stuff) end)
Doing as he said, he did call the function.
|
|
|
| Report Abuse |
|
|
|
| 09 Jul 2016 12:45 AM |
uh-huuuuh
@holy did you test it after calling the function? are you in play solo or a test server
|
|
|
| Report Abuse |
|
|
Holy_Doge
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 1968 |
|
|
| 09 Jul 2016 12:47 AM |
@Rec
I tested in game mode (As in I clicked play, not in studio mode)
|
|
|
| Report Abuse |
|
|
|
| 09 Jul 2016 12:48 AM |
press f7 and check output in the client window
|
|
|
| Report Abuse |
|
|
Everesty
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 6156 |
|
|
| 09 Jul 2016 12:48 AM |
"I tested in game mode (As in I clicked play, not in studio mode)"
Then the client hasn't yet connected to the game and/or hasn't connected to the RemoteEvent yet. |
|
|
| Report Abuse |
|
|
Holy_Doge
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 1968 |
|
|
| 09 Jul 2016 12:49 AM |
@Spark
Is there a way to make it fire, because this is really annoying me
|
|
|
| Report Abuse |
|
|
|
| 09 Jul 2016 12:49 AM |
if you meant you clicked play on the website, my apologies - i posted that thinking you meant in studio mode. i blame the fact that it's 2 am
|
|
|
| Report Abuse |
|
|
Holy_Doge
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 1968 |
|
|
| 09 Jul 2016 12:58 AM |
@Ever
Is there a way to delay the server until the client connects?
|
|
|
| Report Abuse |
|
|
| |
|
Holy_Doge
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 1968 |
|
| |
|