Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Could you detect VIP servers?

Asked by 9 years ago

This is just a quick question -

With VIP servers being out for a while, I've been trying to find out if there was a way to detect whether a server was a VIP server or not. Would this be possible?

0
The wiki states that it's an instance. However, I'm also not willing to spend the 200 RS to test my theory. aquathorn321 858 — 9y

2 answers

Log in to vote
3
Answered by
M39a9am3R 3210 Moderation Voter Community Moderator
9 years ago

It appears that there is. game.VIPServerId was just added 13 March 2015 >, I am not entirely sure how it works though. I did test it in a NonVIP server and got a empty value when I tried printing the ID, but I am not willing to put in the 200 R$ to test it out on a test server. Hopefully this helped.

0
Ahh. Don't worry, that's perfectly understandable haha :) I will be trying it out later, but you were pretty clear. Thank you! Devotional 210 — 9y
Ad
Log in to vote
0
Answered by 9 years ago

Use Lua's quick Ternary Operator.

VIPServerIdis a new part of game

 print(game.VIPServerId=="" and "Not a VIP Server" or "Vip Server")

Answer this question