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=403532)
SOLVED -
Bobman - 30.12.2012
SOLVED!
Re: Interior problem -
Bobman - 30.12.2012
any idea?
Re : Interior problem -
[HRD]Mar1 - 30.12.2012
Is it an samp interior ?
Or your own interior ?
Re: Interior problem -
Konstantinos - 30.12.2012
It sets the interior to 0 and there's no place with these coordinates and interior 0.
If it's a custom one, make sure the coordinates are correct.
Re: Interior problem -
Bobman - 30.12.2012
It's a custom one and it worked earlier, just when I changed the position, it stopped working.
Re: Interior problem -
Bobman - 30.12.2012
Do you have any idea? I don't.
Re: Interior problem -
Bobman - 30.12.2012
So, let me explain. I can go to position 3472.6418,-617.8442,902.3203 by a teleport command but when I enter from the door, it won't teleport me there. The coordinates are right, even if I teleport inside by a command I can use the 3472.6418,-617.8442,902.3203 from inside and I will goto 1806.1694,-1584.3303,700.4300 but I can't go from 1806.1694,-1584.3303,700.4300 to 3472.6418,-617.8442,902.3203. What's the problem?
Код:
else if(IsPlayerInRangeOfPoint(playerid, 1.0, 1806.1694,-1584.3303,700.4300)) //
{
SetPlayerPos(playerid, 3472.6418,-617.8442,902.3203);
SetPlayerInterior(playerid, 0);
SetPlayerFacingAngle(playerid, 80.4306);
SetCameraBehindPlayer(playerid);
GameTextForPlayer(playerid, "~b~ Cafeteria", 3000, 1);
TogglePlayerControllable(playerid, 0);
SetTimerEx("LoadingObjects", 1000, false, "d", playerid);
}
else if(IsPlayerInRangeOfPoint(playerid, 1.0, 3472.6418,-617.8442,902.3203))//
{
SetPlayerPos(playerid, 1806.1694,-1584.3303,700.4300);
SetPlayerInterior(playerid, 0);
SetPlayerFacingAngle(playerid, 180.0);
SetCameraBehindPlayer(playerid);
GameTextForPlayer(playerid, "~w~ Cell Blocks", 3000, 1);
TogglePlayerControllable(playerid, 0);
SetTimerEx("LoadingObjects", 1000, false, "d", playerid);
Re: Interior problem -
Jimmy0wns - 30.12.2012
If you are compiling this, do you have any errors ?
Re: Interior problem -
Bobman - 30.12.2012
No I don't have. Everything is just fine, I don't get why... why I can't enter inside the interior. I've got plenty of other rangeofpoint to different locations and all of them are working
Re: Interior problem -
Bobman - 01.01.2013
SOLVED