1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Roblox 🎮 RemoteEvent で複数の引数の渡し方

1
Posted at

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?