Question on Virtual World
#1

i Can Do something like this to make 3houses with the same interior?

Код:
			for(new i = 0; i < sizeof(HouseInfo); i++)
			{
				if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
				{
					//printf("Found House :%d",i);
					if(PlayerInfo[playerid][pPhousekey] == i || HouseInfo[i][hLock] == 0)
					{
						SetPlayerInterior(playerid,HouseInfo[i][hInt]);
						new interior=(playerid,HouseInfo[i][hInt]);
						new interior2=(playerid,HouseInfo[i][hInt]);
						new interio3=(playerid,HouseInfo[i][hInt]);
						if ( interior==interior2)
						{
						SetPlayerVirtualWorld(playerid,1)
						}
						if(interior==interior3)
						{
						SetPlayerVirtualWorld(playerid,2);
						}
						SetPlayerPos(playerid,HouseInfo[i][hExitx],HouseInfo[i][hExity],HouseInfo[i][hExitz]);
						GameTextForPlayer(playerid, "~w~Welcome Home", 5000, 1);
						PlayerInfo[playerid][pInt] = HouseInfo[i][hInt];
						PlayerInfo[playerid][pLocal] = i;
Reply


Messages In This Thread
Question on Virtual World - by Ben147 - 31.07.2009, 16:46
Re: Question on Virtual World - by Doppeyy - 31.07.2009, 16:55
Re: Question on Virtual World - by Ben147 - 31.07.2009, 18:05
Re: Question on Virtual World - by Doppeyy - 31.07.2009, 18:08
Re: Question on Virtual World - by Ben147 - 31.07.2009, 21:08
Re: Question on Virtual World - by Ben147 - 01.08.2009, 01:30

Forum Jump:


Users browsing this thread: 1 Guest(s)