Interior Help!!!
#9

Oh!!!

Help a lot.

Thank you very much.
Quote:
Originally Posted by NeRoSiS
Firstly, get your interior and co-ordinates from some where like the following https://sampwiki.blast.hk/wiki/InteriorIDs

For this example I will be using the first one on that web page, 24/7 1.

As you can see it gives you a universe (Interior) ID and 3 co-ordinates.

You will use the interior ID in the following.
pawn Код:
SetPlayerInterior(playerid, 17);
Then you'll use the co-ordinates in the following format.
SetPlayerPos(playerid, X, Y, Z);

So from the example I am using I will do this.
pawn Код:
SetPlayerPos(playerid,-25.884499,-185.868988,1003.549988);
Then you put those together to make a command like the following, which teleports you to the interior.
pawn Код:
if(strcmp(cmdtext,"/247",true)==0)
    {
    SetPlayerInterior(playerid, 17);
    SetPlayerPos(playerid,-25.884499,-185.868988,1003.549988);
    return 1;
    }
Remember to always put the interior before the position

Hope I helped!
Reply


Messages In This Thread
Interior Help!!! - by arachimi - 28.04.2009, 16:44
Re: Interior Help!!! - by MenaceX^ - 28.04.2009, 16:46
Re: Interior Help!!! - by arachimi - 28.04.2009, 16:53
Re: Interior Help!!! - by MenaceX^ - 28.04.2009, 17:15
Re: Interior Help!!! - by arachimi - 28.04.2009, 17:51
Re: Interior Help!!! - by miokie - 28.04.2009, 18:38
Re: Interior Help!!! - by NeRoSiS - 28.04.2009, 19:24
Re: Interior Help!!! - by MenaceX^ - 28.04.2009, 19:54
Re: Interior Help!!! - by arachimi - 28.04.2009, 19:58
Re: Interior Help!!! - by Enzo_Ferrari_V12 - 13.11.2009, 02:19

Forum Jump:


Users browsing this thread: 1 Guest(s)