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