Is it possible to call a remote event from the server? if yes how'd I do that? if no is there another way to do something similar?
COMMUNITY QUESTION
How to fire a remote event from the server?
2 answers
Let's have for example a RemoteEvent called 'Buy' in game.ReplicatedStorage, we would fire it by executing 'game.ReplicatedStorage.Buy:FireServer(argument1, argument2)'. Or if it's a RemoteFunction, we would execute 'game.ReplicatedStorage.buy:InvokeServer(argument1, argument2)'
I'm pretty sure you can only fire a remote event from the server, but I'm not too for sure.
I recommend going to the Wiki: http://wiki.roblox.com/index.php?title=RemoteFunction_and_RemoteEvent_Tutorial
1 comment
0
"FireServer can only be called from the client" and FireClient doesn't execute what's inside the event
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
You can fire Remote Events from both the Client and the Server. This is what Remote Events are used for.
"FireServer can only be called from the client" and FireClient doesn't execute what's inside the event