[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
#2

Don't make another topic,

Here was yours:
http://forum.sa-mp.com/index.php?top...3675#msg793675
Reply
#3

well no one is answering it
Reply
#4

Quote:
Originally Posted by Lilcuete
well no one is answering it
well bump it
Reply
#5

ok i did now can someone help me
Reply
#6

You included no info on your old topic!!!!
Reply
#7

dats it
Reply
#8

**Laughs**, look at your script man, the first part says if its locked:
pawn Код:
SetPlayerPos(playerid,501.980987,-69.150199,998.757812);
but yet if hq isnt locked it says
pawn Код:
SetPlayerPos(playerid, 1073.0094,-345.4233,73.9922);
, please for your own sake, update your SetPlayerPos's
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)