This is an old revision of the document!
bool IsServerOnly()
Returns true if the code is executing only serverside, but not clientside. Shorthand for IsServer() && !IsClient()
.
The following code will not trigger the error serverside or in singleplayer:
if (IsServerOnly()) Error("This function needs to be executed clientside);