SA-MP Forums Archive
I need help with SII >PLEASE< - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I need help with SII >PLEASE< (/showthread.php?tid=154348)



I need help with SII >PLEASE< - wofka13 - 13.06.2010

(Sry for bad English! )
Hi all,
I have a problem, I try to create an in-house system but it is not me, the file is created, but there is nothing written into,

Код:
enum hInfo
{
	Float:heX, //he = House Enter, X = X Coordinate
	Float:heY, //he = House Enter, Y = Y Coordinate
	Float:heZ, //he = House Enter, Z = Z Coordinate
	Float:haX, //ha = House Exit, X = X Coordinate
	Float:haY, //ha = House Exit, Y = Y Coordinate
	Float:haZ, //ha = House Exit, Z = Z Coordinate
};
new HausInfo[MAX_HOUSES][hInfo];
Код:
stock LadeHauser()
{
	new Float:x;
	if(INI_Open("Haus.cfg"))
	{
	  new house;
	  for(house = 0; house <= MAX_HOUSES; house++)
	  {
	 		INI_WriteFloat("heX=%d",x);
		}
		INI_Save();
		INI_Close();
	}
	return 1;
}
I'm not good at scripts, so please do not laugh at =)
Thx


Re: I need help with SII >PLEASE< - Abraham2nd - 13.06.2010

whats the error?


Re: I need help with SII >PLEASE< - wofka13 - 13.06.2010

There are no errors, there is just nothing in the file stored