01.08.2013, 00:58
https://sampwiki.blast.hk/wiki/Debugging
Where the code stops to work?
EDIT:
Why you use fstring and file, you pass an empty string to INI_ParseFile. Remove "file" and use fstring
Where the code stops to work?
EDIT:
Код:
new fstring[128],file[128],string[256]; //The string for the file [format] format(fstring, 128, "Houses/%d.ini", houseid); //Format the filename if(!fexist(fstring)) return 0; //"If Houses/{houseid} not exists then return False (0)" INI_ParseFile(file, "LoadHouseData_%s", .bExtra = true, .extra = houseid);