generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is there a way to tell if players are in a VIP server?

Previous Thread :: Next Thread 
w00t111 is not online. w00t111
Joined: 01 Dec 2007
Total Posts: 5110
11 Apr 2015 11:40 AM
?
Report Abuse
BetaBlaze is not online. BetaBlaze
Joined: 27 Aug 2013
Total Posts: 406
11 Apr 2015 11:41 AM
Yep.

http://wiki.roblox.com/index.php?title=Game

string game.VIPServerId [readonly]
> A string that could identify the current server as a VIP server.
Report Abuse
w00t111 is not online. w00t111
Joined: 01 Dec 2007
Total Posts: 5110
11 Apr 2015 11:43 AM
@BetaBlaze
Thank you!
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
11 Apr 2015 12:07 PM
Yes, and you can also tell if players are in Play Solo mode.
Report Abuse
w00t111 is not online. w00t111
Joined: 01 Dec 2007
Total Posts: 5110
11 Apr 2015 12:09 PM
^ I hope your not talking about PlaceId because that's not 100% true method.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
11 Apr 2015 12:13 PM
^ I'm not:

print(game:GetRemoteBuildMode())
-->false means it's Play Solo
-->true means it's an online server
Report Abuse
ImageLabel is not online. ImageLabel
Joined: 08 Dec 2012
Total Posts: 428
11 Apr 2015 12:28 PM
@war;

I've tested it online and it returns false.

Are you sure it's not the other way around?
Report Abuse
Polymorphic is online. Polymorphic
Joined: 15 Dec 2010
Total Posts: 8583
11 Apr 2015 12:30 PM
you could also just do, in a server script,

if game.Players.LocalPlayer == nil then
-- online server
else
-- play solo
end
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
11 Apr 2015 12:40 PM
Description: When called from a client (edit or solo), this returns false. When called from a connected server, this returns true.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image