IsClientOnly

bool IsClientOnly()

Description

Returns true if the code is executing only clientside, but not serverside. Returns false in singleplayer, unlike IsClient. Shorthand for IsClient() && !IsServer().