LoginSignup
1
0

Roblox にて、RemoteEvent で複数の引数を渡すときの注意点

発火させる側

demoRemoteEvent:FireClient(player, value1, value2, ...)

検知する側

demoRemoteEvent.OnClientEvent:Connect(function(value1, value2, ...)
	print("value1: "..value1)
    print("value2: "..value2)
end)

ポイントは、検知側ではplayer を引数内に入れないことです。

さようなら。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0