interior linking to gether
#1

i have to buiding using the interior id 3 but i dont want them to be the same has any one got solution here is the part of the two different building what can i do to separate them but still use same interior
Код:
//Scorpia Agency gang hq
		if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
		{
			SetPlayerPos(playerid, 384.808624,173.804992,1008.382812);
			GameTextForPlayer(playerid, "~w~Scorpia Agency HQ",5000,1);
			SetPlayerInterior(playerid,3);
			SetPlayerFacingAngle(playerid, 1);
			PlayerInfo[playerid][pInt] = 4;
		}
		else if(hqlock[iolock] == 1)
		{
		  SetPlayerPos(playerid, 318.4700,1117.5127,1083.8828);
			GameTextForPlayer(playerid, "~w~Scorpia Agency HQ",5000,1);
			SetPlayerInterior(playerid,3);
			SetPlayerFacingAngle(playerid, 0);
			PlayerInfo[playerid][pInt] = 4;
		}
		else
		{
		  GameTextForPlayer(playerid, "~r~Locked",5000,1);
		}
	}
	else if (PlayerToPointStripped(1, playerid,447.0208,1397.4796,1084.3047, cx,cy,cz))
	{

		//Scorpia Agency hq
		SetPlayerPos(playerid, 1545.0803,-1269.7253,17.4063);
		GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
		SetPlayerInterior(playerid,0);
		SetPlayerFacingAngle(playerid, 179);
		PlayerInfo[playerid][pInt] = 0;
	}
	else if (PlayerToPointStripped(1, playerid,1545.0803,-1269.7253,17.4063, cx,cy,cz))
	{
Код:
//City hall
		SetPlayerPos(playerid, 386.2978,173.8582,1008.3828);
		GameTextForPlayer(playerid, "~w~City Hall",5000,1);
		SetPlayerInterior(playerid,3);
		SetPlayerFacingAngle(playerid, 0);
		PlayerInfo[playerid][pInt] = 3;
	}
	else if (PlayerToPointStripped(1, playerid,390.0630,173.5741,1008.3828, cx,cy,cz))
	{
		//City hall
		SetPlayerPos(playerid, 1481.0206,-1769.5138,18.7958);
		GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
		SetPlayerInterior(playerid,0);
		SetPlayerFacingAngle(playerid, 0);
		PlayerInfo[playerid][pInt] = 0;
	}
	else if (PlayerToPointStripped(1, playerid,1784.58,-1297.52,13.37, cx,cy,cz))
Reply


Messages In This Thread
interior linking to gether - by 02manchestera - 25.01.2010, 20:08
Re: interior linking to gether - by On_Top_Non_Stop - 25.01.2010, 20:12
Re: interior linking to gether - by 02manchestera - 25.01.2010, 20:38
Re: interior linking to gether - by On_Top_Non_Stop - 25.01.2010, 21:22
Re: interior linking to gether - by 02manchestera - 25.01.2010, 21:25

Forum Jump:


Users browsing this thread: 1 Guest(s)