а можно хотя бы пример ? вот типо код -
Code
LoadKInfo(playerid){
new fname[max_line], File: f, buff[max_line], propid, idx, level;
if(!IsPlayerConnected(playerid)) return 0;
for(new i=1; i<max_property; i++)
KeyInfo[playerid][i] = 0;
format(fname,max_line,"/var/property/keyinfo/%s.info",GetName(playerid));
if(!fexist(fname)) return 1; else f = fopen(fname,io_readwrite);
while(fread(f,buff)){
idx = 0;
propid = strval(ini_GetKey(buff));
level = strval(ini_GetValue(buff));
if(propid) KeyInfo[playerid][propid] = level;
}
fclose(F);
return 1;
}