SA-MP Forums Archive
Interior Problem - 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)
+--- Thread: Interior Problem (/showthread.php?tid=357961)



Interior Problem - Krakuski - 08.07.2012

Hi its Krakuski agian with another problem

Okay so heres the problem, i have a SFFMD Sub HQ near Cranberry Station in San Fierro.


I enter it, then come out, its fine and im back in the same place.

Then...


Okay so heres the main problem, I Made a Main HQ in Santa Flora also:


I enter and its the same Interior, which is what i wanted:


Then:


*poof* Im back at the substation, I Changed the Virtual Worlds also in the interiors... Anyone have any tips for me...?

Heres the Pawno Code also:


Код:
 
			//SFFMD Main HQ Building 1 Entrance
			else if(IsPlayerInRangeOfPoint(playerid,3.0, -2539.4783,550.1649,14.6181))
   			{
   			    SetPlayerPos(playerid, 1551.6442, 1173.5507, 1043.6624);
	    		SetPlayerFacingAngle(playerid, 272.0132);
	    		//SetPlayerInterior(playerid, ?);
   			    SetPlayerVirtualWorld(playerid, 3);
				SetCameraBehindPlayer(playerid);
			}
			//SFFMD Main HQ Exit
			else if(IsPlayerInRangeOfPoint(playerid,6.0, 1551.6442, 1173.5507, 1043.6624))
   			{
   			    SetPlayerPos(playerid, -2539.4783,550.1649,14.6181);
   			    SetPlayerFacingAngle(playerid, 90.9048);
	    		SetPlayerVirtualWorld(playerid, 0);
   				SetCameraBehindPlayer(playerid);
			}