23.09.2012, 17:20
I need pass this to Y_INI:
And this to Y_INI
Thanks.
PHP Code:
GetPlayerName(playerid, plname, sizeof(plname));
format(string, sizeof(string), "users/%s.ini", plname);
SendClientMessage(playerid, COLOR_YELLOW, "Loading");
if(fexist(string))
{
gPlayerAccount[playerid] = 1;
return 1;
}
else
{
gPlayerAccount[playerid] = 0;
}
return 1;
PHP Code:
format(var, 64, "House=%d\n",PlayerInfo[playerid][pPhousekey]);fwrite(hFile, var);