SA-MP Forums Archive
Finding interior id and coords (MapEditor) - 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: Finding interior id and coords (MapEditor) (/showthread.php?tid=125618)



Finding interior id and coords (MapEditor) - Dolph - 04.02.2010

I wanna find a interior for my house. How do I find interiors with their ids and coords with MapEditor?


Re: Finding interior id and coords (MapEditor) - ev0lution - 05.02.2010

Quote:
Originally Posted by ee100
I wanna find a interior for my house. How do I find interiors with their ids and coords with MapEditor?
Not sure which map editor you're using, with SA-MP you can go in-game and type /interior. (is that still in 0.3?)
Or you can look at this list: https://sampwiki.blast.hk/wiki/Interiors


Re: Finding interior id and coords (MapEditor) - Dolph - 05.02.2010

I can do /interior.. but I still need coords..


Re: Finding interior id and coords (MapEditor) - Fedee! - 05.02.2010

Quote:
Originally Posted by ee100
I can do /interior.. but I still need coords..
Just put /save comment, then, go to Rockstar Games\GTA San Andreas folder and open savedpositions.txt


Re: Finding interior id and coords (MapEditor) - Dolph - 05.02.2010

Quote:
Originally Posted by Fedee!
Quote:
Originally Posted by ee100
I can do /interior.. but I still need coords..
Just put /save comment, then, go to Rockstar Games\GTA San Andreas folder and open savedpositions.txt
Done it.. but what is X,Y,Z and the ID? I cant see it =S


Re: Finding interior id and coords (MapEditor) - CrucixTM - 05.02.2010

The saved ones are: PlayerSkin, X, Y, Z, Angle. Dont mind the 6 0's.

Try this list instead of the one on the wiki. The wiki list SUCKS.

http://weedarr.wikidot.com/interior


Re: Finding interior id and coords (MapEditor) - Dolph - 05.02.2010

Already found out the inf to the interior i want.



Does this make sense?


ID: 5
X: 246.1914
Y: 1112.5812
Z: 1085.0160


Re: Finding interior id and coords (MapEditor) - Miguel - 05.02.2010

The best way to find it out is testing

pawn Код:
OnPlayerText(playerid, text[])
{
  if(strcmp(text, "takeme", true) == 0)
  {
    SetPlayerInterior(playerid, 5);
    SetPlayerPos(playerid, 246.1914, 1112.5812, 1085.0160);
    SendClientMessage(playerid, COLOR, "Is this the interior you wanted to see?");
    return 0;
  }
  return 1;
}
You don't need to use what I posted above but that's a fast solution (testing).


Re: Finding interior id and coords (MapEditor) - Dolph - 06.02.2010

How do I check it? I am not that good at PAWNO... Wrote the code in pawno and saved it. what next?