Dini Help
#1

Please not save Admin..

Код:
stock Save(playerid)
{
new cesta[50];
format(cesta, sizeof(cesta), "/GG/Admin/%s.sav", Meno(playerid));
if(!dini_Exists(cesta))
{
dini_Create(cesta);
}
else
{
dini_IntSet(cesta, "AdminLevel", Admin[playerid]);
}
	return 1;
}

stock Load(playerid)
{
new cesta[50];
format(cesta, sizeof(cesta), "/GG/Admin/%s.sav", Meno(playerid));
if(!dini_Exists(cesta))
{
dini_Create(cesta);
}
else
{
Admin[playerid] = dini_Bool(cesta, "AdminLevel");
}
	return 1;
}
Reply


Messages In This Thread
Dini Help - by itachi - 21.02.2017, 12:40
Re: Dini Help - by Mencent - 21.02.2017, 18:02
Re: Dini Help - by RyderX - 21.02.2017, 18:07
Re: Dini Help - by Vince - 21.02.2017, 18:41
Re: Dini Help - by GoldenLion - 21.02.2017, 20:10

Forum Jump:


Users browsing this thread: 1 Guest(s)