19.04.2011, 14:26
how would i save & load this
in dini?
thanks
Код:
intut[playerid] = 0;
thanks
intut[playerid] = 0;
new Playername[MAX_PLAYER_NAME],file[40];
GetPlayerName(playerid,Playername,sizeof(Playername));
format(file,sizeof(file),"Accounts/%s.ini",Playername);
dini_IntSet(file,"intut",intut[playerid]);
new Playername[MAX_PLAYER_NAME],file[40];
GetPlayerName(playerid,Playername,sizeof(Playername));
format(file,sizeof(file),"Accounts/%s.ini",Playername);
intut[playerid] = dini_Int(file,"intut");
We got the functions dini_IntSet (write) and dini_Int (read) for that
pawn Код:
pawn Код:
|