SA-MP Forums Archive
[HELP]MyHq exit command - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]MyHq exit command (/showthread.php?tid=105821)



[HELP]MyHq exit command - Lilcuete - 31.10.2009

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


Re: [HELP]MyHq exit command - Eazy_Efolife - 31.10.2009

Don't make another topic,

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


Re: [HELP]MyHq exit command - Lilcuete - 31.10.2009

well no one is answering it


Re: [HELP]MyHq exit command - Eazy_Efolife - 31.10.2009

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


Re: [HELP]MyHq exit command - Lilcuete - 31.10.2009

ok i did now can someone help me


Re: [HELP]MyHq exit command - Tigerbeast11 - 31.10.2009

You included no info on your old topic!!!!


Re: [HELP]MyHq exit command - Lilcuete - 31.10.2009

dats it



Re: [HELP]MyHq exit command - [NYRP]Mike. - 01.11.2009

**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