Connect samp server to website
#3

Quote:
Originally Posted by Lordz™
View Post
It uses mysql system.
For message while connecting, you can use this
pawn Code:
public OnPlayerConnect(playerid)
{
   SendClientMessage(playerid, 0xFF0000FF, "Please go to whatever.com and register there."
   return 1;
}
Its way more than that dude are you serious? Stop spamming...

Its more like(of course not functional)
pawn Code:
public OnPlayerConnect(playerid)
{
   if(/*PLAYER IS REGISTERED ON WEBSITE*/) // THIS HAS TO BE ON TOP! BEFORE ANYTHING ELSE
   {
   //All the account loading info here
   }
   else//Player is not registered on website
   {
   SendClientMessage(playerid, 0xFF0000FF, "Please go to whatever.com and register there.");
   return 1;
   }
   ///////////////////////////////////AFTER THIS CONTINUE WITH THE REST OF ONPLAYERCONNECT//////////////////////
   return 1;
}
Reply


Messages In This Thread
Connect samp server to website - by Diovis - 05.10.2012, 01:27
Re: Connect samp server to website - by Passout - 05.10.2012, 01:42
Re: Connect samp server to website - by Passout - 05.10.2012, 02:04

Forum Jump:


Users browsing this thread: 1 Guest(s)