Problem with for()
#7

Код:
for(new house = 0; house <= 1100; house++)
	            {
	                HouseInfo[house][hHel] = 0;
	                SaveVal(HouseInfo[house][hOwner], "pPhousekey", 9999);
	                SaveValH(house, "hHel", 0);
	                HouseInfo[house][hLock] = 1;
	                SaveValH(house, "hLock", 1);
	                HouseInfo[house][hOwned] = 0;
	                SaveValH(house, "hOwned", 0);
	                strmid(HouseInfo[house][hOwner], "The State", 0, strlen("The State"), 255);
	                SaveStrH(house, "hOwner", "The State");
			new playername[128];
	     		GetPlayerName(playerid, playername, sizeof(playername));
     			format(string, sizeof(string), "House %d is for sell, You can use /findhouse %d to find it.",house,house);
	     		SendClientMessageToAll(-1,string);
}
Reply


Messages In This Thread
Problem with for() - by Japanda - 03.12.2015, 10:37
Re: Problem with for() - by Japanda - 03.12.2015, 17:28
Re: Problem with for() - by CmZxC - 03.12.2015, 17:52
Re: Problem with for() - by Japanda - 03.12.2015, 18:27
Re: Problem with for() - by CmZxC - 03.12.2015, 18:43
Re: Problem with for() - by Lenon - 03.12.2015, 20:51
Re: Problem with for() - by SilverStand - 04.12.2015, 02:20

Forum Jump:


Users browsing this thread: 1 Guest(s)