[HELP]MyHq exit command
#1

ok when i enter my hq and i exit it it takes me to another place can you please help me
Код:
//Hitman HQ
		if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
		{
   
			SetPlayerPos(playerid,501.980987,-69.150199,998.757812);
			GameTextForPlayer(playerid, "~w~HitMan HQ",5000,1);
			SetPlayerInterior(playerid,11);
			SetPlayerFacingAngle(playerid, 90);
			PlayerInfo[playerid][pInt] = 11;
		}
		else if(hqlock[surlock] == 0)
		{
		  SetPlayerPos(playerid, 1073.0094,-345.4233,73.9922);
			GameTextForPlayer(playerid, "~w~Hitman HQ",5000,1);
			SetPlayerInterior(playerid,5);
			SetPlayerFacingAngle(playerid, 90);
			PlayerInfo[playerid][pInt] = 5;
		}
		else
		{
		  GameTextForPlayer(playerid, "~r~Locked",5000,1);
		}
	}
	else if (PlayerToPointStripped(1, playerid,1073.0094,-345.4233,73.9922, cx,cy,cz))
	{//Some teleports are fucked up but they are working
	  if(GetPlayerVirtualWorld(playerid) == 2)

		SetPlayerPos(playerid,501.980987,-69.150199,998.757812);
		GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
		SetPlayerInterior(playerid,0);
		SetPlayerFacingAngle(playerid, 179);
	  SetPlayerVirtualWorld(playerid, 0);
   PlayerInfo[playerid][pVirWorld] = 0;
	}
Please help me
Reply


Messages In This Thread
[HELP]MyHq exit command - by Lilcuete - 31.10.2009, 12:58
Re: [HELP]MyHq exit command - by Eazy_Efolife - 31.10.2009, 13:01
Re: [HELP]MyHq exit command - by Lilcuete - 31.10.2009, 13:03
Re: [HELP]MyHq exit command - by Eazy_Efolife - 31.10.2009, 13:03
Re: [HELP]MyHq exit command - by Lilcuete - 31.10.2009, 13:04
Re: [HELP]MyHq exit command - by Tigerbeast11 - 31.10.2009, 13:37
Re: [HELP]MyHq exit command - by Lilcuete - 31.10.2009, 13:50
Re: [HELP]MyHq exit command - by [NYRP]Mike. - 01.11.2009, 08:10

Forum Jump:


Users browsing this thread: 2 Guest(s)