Loading with Y_Ini - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Loading with Y_Ini (
/showthread.php?tid=305430)
Loading with Y_Ini -
kizla - 22.12.2011
i have a problem, my house didt load.. i make a House system with tutorial by FireCat.. and i changed it to Y_ini
Here is some things:
pawn Код:
new file[40];
format(file,sizeof(file),Kuce,HouseCount);
INI_ParseFile(file, "House", .bExtra = true, .extra = 0);
that is under ongamemodeinit...
and
pawn Код:
forward House(houseid, name[], value[]);
public House(houseid, name[], value[])
{
.....
return 1;
}
And nothing is loaded..
pawn Код:
#define Kuce "KizlaKuce/Kuce/%s.ini"