Posts: 218
Threads: 22
Joined: Jul 2010
It has to do alot with mysql
You need to know mysql first before you can ever consider doing what you are asking,and what you are asking takes way more than a brief tutorial...
This isn't something that you can get done in one day...
Posts: 218
Threads: 22
Joined: Jul 2010
Quote:
Originally Posted by Lordz™
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;
}