27.06.2013, 07:37
Hello I wanna create the saving system like obect, I Just Know Ho To Make Saving Player Data System, any tutorial ?
dini_IntSet(file, "Humanity", AccountInfo[playerid][pHumanity]);
dini_IntSet(file, "AdminLevel",AccountInfo[playerid][pAdmin]);
dini_IntSet(file, "WaterBottle",AccountInfo[playerid][pWaterBottle]);
dini_IntSet(file, "Tent",AccountInfo[playerid][pTent]);
dini_IntSet(file, "Missle",AccountInfo[playerid][pMissle]);
dini_IntSet(file, "CheckedBox",AccountInfo[playerid][pCheckedBox]);
dini_IntSet(file, "Others Team",AccountInfo[playerid][pOthers]);
|
I prefer using DINI saving, much easier to code and use as a saving system. Over anything though use MySQL, most efficient and great system ever built.
Код:
dini_IntSet(file, "Humanity", AccountInfo[playerid][pHumanity]);
dini_IntSet(file, "AdminLevel",AccountInfo[playerid][pAdmin]);
dini_IntSet(file, "WaterBottle",AccountInfo[playerid][pWaterBottle]);
dini_IntSet(file, "Tent",AccountInfo[playerid][pTent]);
dini_IntSet(file, "Missle",AccountInfo[playerid][pMissle]);
dini_IntSet(file, "CheckedBox",AccountInfo[playerid][pCheckedBox]);
dini_IntSet(file, "Others Team",AccountInfo[playerid][pOthers]);
|