#Remote events
15 messages · Page 1 of 1 (latest)
RemoteEvent and RemoteFunction are different things
RemoteEvent is a one way broadcast
while RemoteFunction is like a communication
A sends data to B and B sends data to A back
(A and B are servers and clients)
Both of them can fire client, server has to fire remoteevents with remoteEvent:FireClient() and client has to fire remoteevents with remoteEvent:FireServer()
you can give parameters to it
and to receive the data..
On Server:
you have to handle the remoteevent.OnServerEvent event
On Client:
you have to handle the remoteevent.OnClientEvent event
what is a bindable function?
also how do i take info from remote funcction
and for the 2 scripts will i need 2 function things and 2 remote events?
ok u fire server
event:Fire(position = ...)
and u get the args
function(player, args)
args is the position u fire
Only 1 remote event