This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
client_server_detection [2019/09/05 20:53] – [Writing robust multiplayer code] korshun | client_server_detection [2019/09/05 20:54] (current) – [Writing robust multiplayer code] korshun | ||
---|---|---|---|
Line 53: | Line 53: | ||
// writing if (IsClient()) would incorrectly display the warning in singleplayer. | // writing if (IsClient()) would incorrectly display the warning in singleplayer. | ||
if (!IsServer()) | if (!IsServer()) | ||
- | printbold(s:" | + | printbold(s:" |
+ | |||
+ | ... | ||
} | } | ||
Line 60: | Line 62: | ||
// writing if (IsServer()) would incorrectly display the warning in singleplayer. | // writing if (IsServer()) would incorrectly display the warning in singleplayer. | ||
if (!IsClient()) | if (!IsClient()) | ||
- | printbold(s:" | + | printbold(s:" |
+ | |||
+ | ... | ||
} | } | ||
</ | </ |