14.06.2010, 22:54
(Sry for bad English )
Hi all,
I have a problem, and although the name does not appear,
The problem is (Besitzer)
In the game displayed by Create3DTextLabel, only Inhaber (Besitzer) a 0
Does anybody know where is here the error?
@Haus.cfg
Besitzer0=Staat
Actually, there should be 'Staat' and are not '0 '
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); } }
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]);
Besitzer0=Staat
Actually, there should be 'Staat' and are not '0 '