Getting coords - 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: Getting coords (
/showthread.php?tid=208998)
Getting coords -
GiS - 09.01.2011
I was jsut mapping a new interior, so I built the hole interior far under the ground.
How can I get the coords now, to teleport myself there?
Re: Getting coords -
John_F - 09.01.2011
Use the location of one of the items in the interior and TP there using a command
Re: Getting coords - [L3th4l] - 09.01.2011
Get the coordinates of an object and just make a cmd to go there
Re: Getting coords -
GiS - 09.01.2011
Well I've chosen a door but it teleports me always back to Los Santos over the ground.
Re: Getting coords -
Mr.Stranger - 09.01.2011
type /interior to know your interior first. Then use SetPlayerInterior(playerid, interiorid); and SetPlayerVirutalWorld(playerid, interiorid)
Re: Getting coords -
GiS - 09.01.2011
Quote:
Originally Posted by Mr.Stranger
type /interior to know your interior first. Then use SetPlayerInterior(playerid, interiorid); and SetPlayerVirutalWorld(playerid, interiorid)
|
It's under the ground, so it's not a new interior. So I don't have to change this.