Blockland Forums > Modification Help
How do I check if a client is hosting?
(1/1)
Axolotl:
What's the global variable for it? $Server::Hosting doesn't work.
Axolotl:
Heh, I could just check if $Server::PlayerCount exists. I want to know a less hacky way, though.
Wordy:

--- Quote from: Axolotl on March 27, 2012, 12:37:17 PM ---Heh, I could just check if $Server::PlayerCount exists. I want to know a less hacky way, though.

--- End quote ---
That wouldn't be hacky, and I think Server::PlayerCount exists on both Single Player and LAN mode.
Axolotl:
nvm Port told me to just check for MissionGroup
Navigation
Message Index

Go to full version