ZDaemon ACS Extensions - NetMode

NetMode() function

This function obtains the current "network mode" at runtime. The syntax is:
int NetMode(void)
It returns one of three possible values:
  • NM_SINGLEPLAYER (1): The script is being run by the ZDaemon client in SP mode.
  • NM_SERVER (2): The script is being run by the ZDaemon server in online mode.
  • NM_CLIENT (3): The script is being run by the ZDaemon client in online mode.