IsPlayerInRangeOfPoint/Command problem
#6

What do you mean?
The lenght is 24 yes or no? xD sry, im a newbie.
Код:
enum hInfo
{
	Float:eX,
	Float:eY,
	Float:eZ,
	Float:aX,
	Float:aY,
	Float:aZ,
	Preis,
	Besitzer[24],
	Vergeben,
	Miete,
};
new HausInfo[MAX_HOUSES][hInfo];
If I /kaufen write should actually refer to the house written file will be and as I have a loop have should the game text to change even as I the / kaufen command HausInfo[house] [Vergeben] = 1;
and my loop looks like from:

Код:
if(HausInfo[i][Vergeben] == 1)
				{
    			format(bString, 64, "Preis%d", i);
				 	HausInfo[i][Preis] = INI_ReadInt(bString);
				  	format(bString, 64, "Besitzer%d", i);
					INI_ReadString(HausInfo[i][Besitzer],bString,24);
					format(bString,sizeof(bString),"~g~.:Haus Informationen:.~n~~w~Mietkosten: %d ~y~~n~Besitzer: %s~n~~w~Tippe /mieten um ein Zimmer zu mieten ~b~",HausInfo[i][Preis],HausInfo[i][Besitzer]);
					GameTextForPlayer(playerid,bString,2500,3);
				}
  			else
				{
    			format(bString, 64, "Preis%d", i);
				 	HausInfo[i][Preis] = INI_ReadInt(bString);
				 	format(bString, 64, "Besitzer%d", i);
					INI_ReadString(HausInfo[i][Besitzer],bString,24);
		 		 	format(bString,sizeof(bString),"~g~.:Haus Informationen:.~n~~w~Haus Preis: %d ~y~~n~Besitzer: %s ~b~~n~~w~Tippe /kaufen um das Haus zu kaufen",HausInfo[i][Preis],HausInfo[i][Besitzer]);
					GameTextForPlayer(playerid,bString,2500,3);
  			}
But is it still HausInfo.....[Vergeben] == 0
My english is very bad i hope u understand it xD
Reply


Messages In This Thread
IsPlayerInRangeOfPoint/Command problem - by wofka13 - 24.06.2010, 10:27
Re: IsPlayerInRangeOfPoint/Command problem - by bajskorv123 - 24.06.2010, 10:29
Re: IsPlayerInRangeOfPoint/Command problem - by KuHS - 24.06.2010, 10:32
Re: IsPlayerInRangeOfPoint/Command problem - by wofka13 - 24.06.2010, 15:15
Re: IsPlayerInRangeOfPoint/Command problem - by KuHS - 24.06.2010, 16:54
Re: IsPlayerInRangeOfPoint/Command problem - by wofka13 - 24.06.2010, 17:12

Forum Jump:


Users browsing this thread: 1 Guest(s)