iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
|
| 10 Jun 2017 09:25 AM |
How would I send a message to another player if filtering enabled is on? I know I have to send a remote event to the server, but then how would I send another remote event and make another player receive it?
|
|
|
| Report Abuse |
|
|
iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
| |
|
|
| 10 Jun 2017 09:37 AM |
| player 1 -> server - > player 2 |
|
|
| Report Abuse |
|
|
iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
|
| 10 Jun 2017 09:41 AM |
| Theres an error in that 1 lined script u gave me and it doesn't work.. |
|
|
| Report Abuse |
|
|
Cryxez
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 1381 |
|
|
| 10 Jun 2017 04:23 PM |
| ################################################################################################# |
|
|
| Report Abuse |
|
|
Cryxez
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 1381 |
|
|
| 10 Jun 2017 04:23 PM |
| ################################################################## |
|
|
| Report Abuse |
|
|
Cryxez
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 1381 |
|
|
| 10 Jun 2017 04:24 PM |
| Search up Remote Events and Functions and find client to client communication |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2017 04:25 PM |
if u want it to go from client a to client b use a single remote event and then connect to it on both the client and the server fire it to the client or call fireallclients after the event has fired for the server |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2017 04:27 PM |
| aka if an admin put something in a message box for example event.OnClientEvent:connect(function(msg) --display message end) box.FocusLost:connect(function() event:FireServer(box.Text) end) --server event.OnServerEvent:connect(function(player,msg) warn(("player '%s' has sent the message '%s'"):format(player.Name,msg)) ######################### end) |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2017 04:28 PM |
aka if an admin put something in a message box for example
event.OnClientEvent:connect(function(msg) --display message end) box.FocusLost:connect(function() event:FireServer(box.Text) end)
--server event.OnServerEvent:connect(function(player,msg) warn(("player '%s' has sent the message '%s'"):format(player.Name,msg)) event:FireAIICIients(msg) --i changed the Ls to is because of filter end) |
|
|
| Report Abuse |
|
|