04.09.2012, 17:54 
	
	
	
		Hi!
I am scripting on a roleplay gamemode.
I have a problem:When I try to enter the faction hq it teleports me a little bit back from the enter place of the hq.So it isn't teleporting me in the hq interior(where i want)
I talk about a faction that i moved.The faction cars were moved perfectly in the new place but i have that problem with hq.
I mention that the faction hq that the gm have without be moved work perfectly.
I don't have to type anything to enter the hq.Just to walk to the place of cordonates.
That's the place where i edit the cordonates of enter and exit of the hq.
I want to know if i have something to edit in the part of gm that i post here or i have to find something in the gm and edit it.
Sorry for bad english!
Thanks!
	
	
	
I am scripting on a roleplay gamemode.
I have a problem:When I try to enter the faction hq it teleports me a little bit back from the enter place of the hq.So it isn't teleporting me in the hq interior(where i want)
I talk about a faction that i moved.The faction cars were moved perfectly in the new place but i have that problem with hq.
I mention that the faction hq that the gm have without be moved work perfectly.
I don't have to type anything to enter the hq.Just to walk to the place of cordonates.
That's the place where i edit the cordonates of enter and exit of the hq.
I want to know if i have something to edit in the part of gm that i post here or i have to find something in the gm and edit it.
Код:
		//Ballas Enter
		if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
		{
			SetPlayerPos(playerid, -204.439987,-26.453998,1002.273437);
			GameTextForPlayer(playerid, "~w~Ballas HQ",5000,1);
			SetPlayerInterior(playerid,16);
			SetPlayerFacingAngle(playerid, 181);
			PlayerInfo[playerid][pInt] = 16;
		}
		else if(hqlock[iolock] == 0)
		{
		    SetPlayerPos(playerid, -204.439987,-26.453998,1002.273437);
			GameTextForPlayer(playerid, "~w~Ballas HQ",5000,1);
			SetPlayerInterior(playerid,16);
			SetPlayerFacingAngle(playerid, 181);
			PlayerInfo[playerid][pInt] = 16;
		}
		else
		{
		    GameTextForPlayer(playerid, "~r~Locked",5000,1);
		}
	}
	else if (PlayerToPointStripped(1, playerid,2148.5640,-1484.9077,26.6240, cx,cy,cz))
	{
		//Ballas Exit
		SetPlayerPos(playerid, 2148.5640,-1484.9077,26.6240);
		GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
		SetPlayerInterior(playerid,0);
		SetPlayerFacingAngle(playerid, 1);
		PlayerInfo[playerid][pInt] = 0;
	}
	else if (PlayerToPointStripped(1, playerid,-204.439987,-26.453998,1002.273437, cx,cy,cz))
	{
Thanks!


