[Ajuda] Dini nгo salvando [URGENTE]
#3

faz um teste ai acho que vc esqueceu do "dini_Exists(filename[]);"
pawn Код:
new strconta[30];
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(strconta, sizeof(strconta), "/contas/%s.ini", aname);
if(!dini_Exists(strconta)) dini_Create(strconta);


Onplayerupdate:
new aname[MAX_PLAYER_NAME];
new file[30];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), "/contas/%s.ini");
SetPlayerScore(playerid,dini_Int(file, "Level"));
Reply


Messages In This Thread
Dini nгo salvando [URGENTE] - by iWellCleber - 26.08.2014, 01:41
Re: Dini nгo salvando [URGENTE] - by iWellCleber - 26.08.2014, 01:43
Re: Dini nгo salvando [URGENTE] - by Marlon307 - 26.08.2014, 14:59
Re: Dini nгo salvando [URGENTE] - by iWellCleber - 26.08.2014, 15:43
Re: Dini nгo salvando [URGENTE] - by iWellCleber - 26.08.2014, 15:57
Re: Dini nгo salvando [URGENTE] - by Marlon307 - 26.08.2014, 16:02
Re: Dini nгo salvando [URGENTE] - by iWellCleber - 26.08.2014, 16:05
Re: Dini nгo salvando [URGENTE] - by iWellCleber - 26.08.2014, 16:09
Re: Dini nгo salvando [URGENTE] - by Micael_Nees - 26.08.2014, 16:29
Re: Dini nгo salvando [URGENTE] - by Marlon307 - 26.08.2014, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)