• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Deteact?

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
JASS:
boolean bj_isSinglePlayer=false
This is set to true if the game is played in single player mode (where cheating is enabled).
This remains false when the game is hosted on LAN or BattleNet (where cheats are disabled).

You can not detect the difference between a LAN hosted multiplayer and a BattleNet hosted multiplayer as they use the same client - server when hosting.
 
Status
Not open for further replies.
Top