[Help]Problem With YINI
#3

pawn Code:
public OnPlayerConnect(playerid)
{
if(fexist(UserPath(playerid)))
{
   INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
   ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"{C2FF33}Login To Server","{FF6633}Enter Your Password To login","Login","Exit");
}
else
{
 SendClientMessage(playerid,~0,"{FFCC00}[SERVER]: {FF3232}Register An Account!");
 ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD,"{339933}Registration","{C2FF33}Enter A Password Below to register","Register","Cancel");
}
if(fexist(PHousePath(playerid)))
{
  INI_ParseFile(PHousePath(playerid), "LoadPHouse_%s", .bExtra = true, .extra = playerid);
}

//>After load user data and user house data i reset the variables and check if player banned kick him/her |

  return 1;
}
Eth i sent full OnPlayerConnect in pm...check it !
Reply


Messages In This Thread
[Help]Problem With YINI - by Mamal75 - 06.10.2014, 17:29
Re: [Help]Problem With YINI - by Eth - 06.10.2014, 17:32
Re: [Help]Problem With YINI - by Mamal75 - 06.10.2014, 17:42
Re: [Help]Problem With YINI - by Eth - 06.10.2014, 18:16
Re: [Help]Problem With YINI - by Mamal75 - 06.10.2014, 18:18
Re: [Help]Problem With YINI - by Eth - 06.10.2014, 18:19
Re: [Help]Problem With YINI - by Mamal75 - 06.10.2014, 18:29
Re: [Help]Problem With YINI - by Eth - 06.10.2014, 19:43
Re: [Help]Problem With YINI - by Mamal75 - 07.10.2014, 10:35
Re: [Help]Problem With YINI - by Mamal75 - 07.10.2014, 12:49

Forum Jump:


Users browsing this thread: 1 Guest(s)