Name does not appear
#1

(Sry for bad English )

Hi all,
I have a problem, and although the name does not appear,

Код:
//3DTextLabels
	for(new i=0;i<MAX_HOUSES;i++)
	{
	  if(INI_Open("Haus.cfg"))
	  {
		  new string[256];
			format(string, 32, "eX%d",i);
			HausInfo[i][eX] = INI_ReadFloat(string);
			format(string, 32, "eY%d",i);
			HausInfo[i][eY] = INI_ReadFloat(string);
			format(string, 32, "eZ%d",i);
			HausInfo[i][eZ] = INI_ReadFloat(string);
			format(string, 32, "Besitzer%d",i);
			HausInfo[i][Besitzer] = INI_ReadInt(string);
			format(string,sizeof(string),".:[Haus Information]:. \nLevel:5\nPreis:1000$\nInhaber:%d",HausInfo[i][Besitzer]);
			Create3DTextLabel(string,0x0099FFFF,HausInfo[i][eX], HausInfo[i][eY], HausInfo[i][eZ],40.0,0);
		}
	}
The problem is (Besitzer)
In the game displayed by Create3DTextLabel, only Inhaber (Besitzer) a 0

Does anybody know where is here the error?
Код:
format(string, 32, "Besitzer%d",i);
HausInfo[i][Besitzer] = INI_ReadInt(string);
format(string,sizeof(string),".:[Haus Information]:. \nLevel:5\nPreis:1000$\nInhaber:%d",HausInfo[i][Besitzer]);
@Haus.cfg
Besitzer0=Staat
Actually, there should be 'Staat' and are not '0 '

Reply


Messages In This Thread
Name does not appear - by wofka13 - 14.06.2010, 22:54
Re: Name does not appear - by Cameltoe - 14.06.2010, 23:13
Re: Name does not appear - by wofka13 - 14.06.2010, 23:41
Re: Name does not appear - by Cameltoe - 14.06.2010, 23:45
Re: Name does not appear - by wofka13 - 15.06.2010, 00:01
Re: Name does not appear - by wofka13 - 16.06.2010, 05:27
Re: Name does not appear - by (SF)Noobanatior - 16.06.2010, 05:45
Re: Name does not appear - by Cameltoe - 16.06.2010, 05:46
Re: Name does not appear - by wofka13 - 16.06.2010, 06:12

Forum Jump:


Users browsing this thread: 1 Guest(s)