[Help]Problem With Account System
#9

I have Server Side Money And Score and give player score or money and save to variables!

pawn Код:
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 loading user data and user house data i reset the variables and check if player banned kick him/her |

  return 1;
}
Reply


Messages In This Thread
[Help]Problem With Account System - by Mamal75 - 09.10.2014, 11:30
Re: [Help]Problem With Account System - by Rudy_ - 09.10.2014, 11:44
Re: [Help]Problem With Account System - by Mamal75 - 09.10.2014, 11:56
Re: [Help]Problem With Account System - by Rudy_ - 09.10.2014, 11:59
Re: [Help]Problem With Account System - by Mamal75 - 09.10.2014, 19:41
Re: [Help]Problem With Account System - by Mamal75 - 10.10.2014, 07:34
Re: [Help]Problem With Account System - by PMH - 10.10.2014, 08:17
Re: [Help]Problem With Account System - by Rudy_ - 10.10.2014, 11:18
Re: [Help]Problem With Account System - by Mamal75 - 10.10.2014, 11:53

Forum Jump:


Users browsing this thread: 3 Guest(s)