SA-MP Forums Archive
Interiors won't load - 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: Interiors won't load (/showthread.php?tid=92427)



Interiors won't load - craponnaruto - 20.08.2009

OK I made a tele to the LS Police department and when I use it,I fall out of the sky.I know why I fall out of the sky.If you don't know it's this.

Story:
Most interiors are in places where players cannot reach,such as high up in the sky.You might have noticed that a airplane and jetpacks can only take you to a certain height.That is because interiors a up there.*I don't exactly know if this is true,but I've heard it many times*So when an interior doesn't load,you fall to your death.

So how can I get the interior to load?It's like that with all interiors.


Re: Interiors won't load - Doppeyy - 20.08.2009

Post your teleport code here so we can look what you did wrong.
I am not saying you did anything wrong i just wanna check.

/Artix


Re: Interiors won't load - craponnaruto - 20.08.2009

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/lspolice") == 0)
{
SetPlayerPos(playerid, 246.783996, 63.900199, 1003.640625);
return 1;
}
return 0;
}


Re: Interiors won't load - Djiango - 20.08.2009

https://sampwiki.blast.hk/wiki/SetPlayerInterior


Re: Interiors won't load - craponnaruto - 20.08.2009

How would I do this?Can you post a script?I don't know what do do with SetPlayerInterior.


Re: Interiors won't load - craponnaruto - 20.08.2009

<REMOVED>


Re: Interiors won't load - Djiango - 20.08.2009

pawn Код:
if(strcmp(cmdtext, "/lspolice") == 0)
  {
    SetPlayerInterior(playerid, 10);
    SetPlayerPos(playerid, 246.783996, 63.900199, 1003.640625);
    return 1;
  }
https://sampwiki.blast.hk/wiki/InteriorIDs
Look here for all the interior id's.


Re: Interiors won't load - craponnaruto - 20.08.2009

I cab now see it but I'm on the outside of the interior.


Re: Interiors won't load - Djiango - 20.08.2009

Change your "Y" coordinates to 110.84
It's all described on that page. :P

Also remember to add, SetPlayerInterior(playerid, 0); when you teleport to the "real world" again.


Re: Interiors won't load - craponnaruto - 20.08.2009

I am back to the falling thing again.So yours isn't working.