[HELP] Public Enemy Housinfo 3dtext
#4

Hello, Thanks for your reaction. but.

Код:
	for(new i=0; i<MAX_SLOTS; i++)
	{
		// House shit:
		for(new h = 0; h <MAX_HOUSES; h++)
		{
			if(PlayerToPoint(2, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))
			{
   				if(HouseInfo[h][hOwned] == 1)
				{
				    if(HouseInfo[h][hRentabil] == 0)
         			{
         			    format(house_string, sizeof(house_string), "~w~De eigenaar van dit huis is ~n~%s~n~Level: %d", HouseInfo[h][hOwner], HouseInfo[h][hLevel]);
					   	//format(house_string, sizeof(house_string), "~w~%s~n~Owned by: ~r~%s", HouseInfo[h][hDescription], HouseInfo[h][hOwner]);
    					Update3DTextLabelText(MAX_HOUSES,0x2CDBDEFF,house_string);
						return 1;
					}
					else
					{
					    format(house_string, sizeof(house_string), "~w~De eigenaar van dit huis is ~n~%s~n~Level: %d~n~Rent: ~g~$%d ~w~level: %d~n~Typ /rentroom om een kamer te huren.", HouseInfo[h][hOwner], HouseInfo[h][hLevel], HouseInfo[h][hRent], HouseInfo[h][hLevel]);
					    //format(house_string, sizeof(house_string), "~w~%s~n~Owned by: ~r~%s~n~~w~(Rentable for ~g~$%d~w~)", HouseInfo[h][hDescription], HouseInfo[h][hOwner], HouseInfo[h][hRent]);
         				Update3DTextLabelText(MAX_HOUSES,0x2CDBDEFF,house_string);
						return 1;
					}
				}
				else
				{
				    format(house_string, sizeof(house_string), "Dit huis is te koop!\nDiscription: %s\nCost: $%d\nLevel: %d\nto buy this house type /buyhouse", HouseInfo[h][hDescription], HouseInfo[h][hValue], HouseInfo[h][hLevel]);
					//format(house_string, sizeof(house_string), "~w~%s~n~For sale, Cost: ~g~$%d~n~~w~Level: %d", HouseInfo[h][hDescription], HouseInfo[h][hValue], HouseInfo[h][hLevel]);
                    Houselabel = Create3DTextLabel(house_string,0x2CDBDEFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15,0,1);
					return 1;
				}
			}
		}
When i do this, i will get warnings:

Код:
C:\Users\jeroen hulshof\Desktop\Secondlife-RPG Dutch version\gamemodes\CLRPG.pwn(13370) : warning 213: tag mismatch
C:\Users\jeroen hulshof\Desktop\Secondlife-RPG Dutch version\gamemodes\CLRPG.pwn(13377) : warning 213: tag mismatch
Reply


Messages In This Thread
[HELP] Public Enemy Housinfo 3dtext - by JeroenX - 15.03.2012, 00:35
Re: [HELP] Public Enemy Housinfo 3dtext - by JeroenX - 15.03.2012, 10:37
Re: [HELP] Public Enemy Housinfo 3dtext - by TTJJ - 15.03.2012, 10:54
Re: [HELP] Public Enemy Housinfo 3dtext - by JeroenX - 15.03.2012, 10:58
Re: [HELP] Public Enemy Housinfo 3dtext - by TTJJ - 15.03.2012, 11:26
Re: [HELP] Public Enemy Housinfo 3dtext - by JeroenX - 15.03.2012, 11:56
Re: [HELP] Public Enemy Housinfo 3dtext - by TTJJ - 15.03.2012, 12:56
Re: [HELP] Public Enemy Housinfo 3dtext - by JeroenX - 15.03.2012, 13:52
Re: [HELP] Public Enemy Housinfo 3dtext - by JeroenX - 15.03.2012, 14:10
Re: [HELP] Public Enemy Housinfo 3dtext - by JeroenX - 16.03.2012, 15:53

Forum Jump:


Users browsing this thread: 1 Guest(s)