Interiors won't load
#1

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.
Reply
#2

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
Reply
#3

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

https://sampwiki.blast.hk/wiki/SetPlayerInterior
Reply
#5

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

<REMOVED>
Reply
#7

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.
Reply
#8

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

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.
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)