[Searching] check if user is in client

Oct 12, 2013
69
1
Hello! :)

I'm looking for a script that does so if someone is in the client they cant be availiable to enter a website like /vip but if the client is closed they cant enter the vip page, it's just for security, would be nice if someone could code it or release it for me!

Best regards!
Flowy
 

Jerry

not rly active lol
Jul 8, 2013
1,957
522
I've something like this;
PHP:
if($userAccount["online"] == 1 && USER_ID != 1)
{
    echo "<b><font color='darkred'><h3>Stop! It seems you're currently logged into the hotel.<br />Please close your client to continue.</b></font></h3>";
}
 
Oct 12, 2013
69
1
I've something like this;
PHP:
if($userAccount["online"] == 1 && USER_ID != 1)
{
    echo "<b><font color='darkred'><h3>Stop! It seems you're currently logged into the hotel.<br />Please close your client to continue.</b></font></h3>";
}
tried it, i'm at the client at the same time and try enter the page and i still can, so it wont work :/
 

Users who are viewing this thread

Top