Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
How do I check if a client is hosting?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do I check if a client is hosting? (Read 335 times)
Axolotl
March 27, 2012, 12:36:20 PM
What's the global variable for it? $Server::Hosting doesn't work.
Ad Bot
Advertisement
Axolotl
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.
Wordy
March 27, 2012, 01:23:43 PM
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.
That wouldn't be hacky, and I think Server::PlayerCount exists on both Single Player and LAN mode.
Axolotl
March 27, 2012, 01:28:16 PM
nvm Port told me to just check for MissionGroup
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
How do I check if a client is hosting?