Automatic Login Not Working :(
#4

Quote:
Originally Posted by Niixie
Get the players registered ip

pawn Код:
new tmp2[56], tmp3[56];

GetPlayerIp(blabla, tmp3);
dini_Int(blabla, tmp2);

If(tmp2, tmp3 = true)
{
   IsPlayerLogged[playerid] = 1;
   SendClientMessage(playerid, blue, "You've been automaticly logged in");
}
Something like that, thats what i would do
Dont copy it, its not written as it should be. because you dont learn of copying
Quote:
Originally Posted by ~Dangun!
pawn Код:
public OnPlayerConnect(playerid)
{
new IP[56];
  GetPlayerIp(playerid, IP, 56);
  if(strcmp(dini_Get(pInfo[playerid][name], "IP"), IP)) OnPlayerLogin(playerid);
}
I hope somebody will be able to help me out.
He does yet... doesnt he?
Reply


Messages In This Thread
Automatic Login Not Working :( - by ~Dangun! - 06.01.2010, 14:23
Re: Automatic Login Not Working :( - by DeathOnaStick - 06.01.2010, 14:27
Re: Automatic Login Not Working :( - by Niixie - 06.01.2010, 14:29
Re: Automatic Login Not Working :( - by DeathOnaStick - 06.01.2010, 14:36
Re: Automatic Login Not Working :( - by Niixie - 06.01.2010, 14:40
Re: Automatic Login Not Working :( - by DeathOnaStick - 06.01.2010, 14:42
Re: Automatic Login Not Working :( - by Niixie - 06.01.2010, 14:43
Re: Automatic Login Not Working :( - by ~Dangun! - 06.01.2010, 15:44
Re: Automatic Login Not Working :( - by ~Dangun! - 07.01.2010, 11:01
Re: Automatic Login Not Working :( - by Niixie - 07.01.2010, 11:47

Forum Jump:


Users browsing this thread: 3 Guest(s)