bool IsClient()
Returns true if the script is running on a client.
Any running instance of ZDoom that has display and input capabilities is considered as a client.
If the instance is a client, graphics effects (clientside actors and hud) should be enabled for it.
The following are clients:
if (IsServer()) { // Run serverside code. } if (IsClient()) { // Run clientside code. }