IsServer


Returns 1 if the local player is the host or 0 if he is not. IsServer() returns 0 in single player. Syntax:

boolean=IsServer();