[Help] Loading user file's
#5

Quote:
Originally Posted by Niixie
Guess that'll work

Код:
public OnPlayerConnect(playerid, blabla)
{
  format(file, sizeof(file), "%s.ini", playername);
  if(!dini_exists(file))
  {
     SendClientMessage(playerid, COLOR_GREEN, "Please register your account");
  }
  else
  {
     SendClientMessage(playerid, COLOR_GREEN, "An account is already created to that nickname, please /login or change name");
  }
  return 1;
}
Is that working same as auto login, but without message?
Reply


Messages In This Thread
[Help] Loading user file's - by dclaw - 25.02.2010, 10:04
Re: [Help] Loading user file's - by dclaw - 25.02.2010, 11:55
Re: [Help] Loading user file's - by kmzr - 25.02.2010, 12:11
Re: [Help] Loading user file's - by Niixie - 25.02.2010, 12:15
Re: [Help] Loading user file's - by dclaw - 25.02.2010, 15:11

Forum Jump:


Users browsing this thread: 1 Guest(s)