View Single Post
  #5  
Old 11-14-2011, 03:34 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

You can check (bool)
GamePlay.gpIsServerDedicated();
GamePlay.gpIsServerSingle();

but by a SingleplayerGame GamePlay.gpIsServerSingle() is also true.

So you should check if
GamePlay.gpRemotePlayers()
contains Players, if so its a MultiplayerGame if not its a SinglePlayer.
Reply With Quote