SA-MP Forums Archive
Problem with entering into the interior - 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: Problem with entering into the interior (/showthread.php?tid=333290)



Problem with entering into the interior - Petricko - 10.04.2012

I have a problem getting into any interior for example when I enter the interior of the FBI falls through it. Is there something that is not happening, and that is what the player hate the timer equally so for example 3 sec unfreeze
Please Help.
Thanks in advance.


Re: Problem with entering into the interior - Ezay - 10.04.2012

Whats the Interior ID?
You May Be Spawning him in a Interior with "No Walls", You Could use iKey07's Solid Wall,
Will Make All the Interior's Fixed.

Otherwise, you may be Spawning him to Low Somehow?

Cheers
Ezay


Re: Problem with entering into the interior - Petricko - 10.04.2012

They have "walls"
And it's not the only one interior, but almost all interiors.


Re: Problem with entering into the interior - Ezay - 10.04.2012

Weird, Can you show me Code when your in an Interior?


Re: Problem with entering into the interior - Dan_Barocu - 10.04.2012

if its in CreateDynamic put it in CreateObject i have the problem!


Re: Problem with entering into the interior - Petricko - 10.04.2012

These codes?
Код:
		else if(IsPlayerInRangeOfPoint(playerid, 1, 1554.9537,-1675.6584,16.1953))
		{//SAPD Entrance
			PlayerInfo[playerid][pInteriorNr] = 1;
			GameTextForPlayer(playerid, "~w~Police Department", 5000, 1);
			SafeSetPlayerInterior(playerid, 6);
			SafeSetPlayerPos(playerid,246.7079,66.2239,1003.6406);
		}
		else if(IsPlayerInRangeOfPoint(playerid, 1, 246.5325,62.4251,1003.6406))
		{//SAPD Exit
		    PlayerInfo[playerid][pInteriorNr] = 0;
			GameTextForPlayer(playerid, "~w~Los Santos", 5000, 1);
			SafeSetPlayerInterior(playerid, 0);
			SafeSetPlayerPos(playerid,1552.3231,-1674.6780,16.1953);
		}



Re: Problem with entering into the interior - Petricko - 10.04.2012

these objects are not inserted to the interior for example police


Re: Problem with entering into the interior - Dan_Barocu - 11.04.2012

PlayerInfo[playerid][pInteriorNr] = 1;

try to put
PlayerInfo[playerid][pInteriorNr] = 3;