Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I don't really understand Remotes. The wiki doesn't really explain fully. Can someone help explain?

Asked by 5 years ago
Edited 5 years ago

As the title says. I have no idea how Remotes work. How would they be used in an FE game?

1 answer

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago

Dunp your code in one of the events/callbacks

-- Server

RemoteEvent.OnServerEvent:Connecg(function(player)
    -- Dump your code. Don’t put any events in here if the code was under an event. Just put
-- under here!

end)

Then from the opposite script:

-- Client

RemoteEvent:FireServer()
0
Sounds pretty easy, thanks! GIassWindows 141 — 5y
Ad

Answer this question