📜  remoteevent roblox - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:08.247000             🧑  作者: Mango

代码示例1
--Server => Client
remoteEvent:FireAllClients() --Server Script
remoteEvent:FireClient(player) --Server Script
remoteEvent.OnClientEvent:Connect() --Local Script

--Client => Server
remoteEvent:FireServer() --Local Script
remoteEvent.OnServerEvent:Connect() -- Server Script