SA-MP Forums Archive
I don't get it :( - 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: I don't get it :( (/showthread.php?tid=147262)



I don't get it :( - ViruZZzZ_ChiLLL - 11.05.2010

I have the coordinates of X, Y, Z (The right coordinates)
but when ever I teleport to that place I get teleported
else where I DON'T GET IT


Re: I don't get it :( - Faith - 11.05.2010

show your piece of code, and we might be able to help you!


Re: I don't get it :( - ViruZZzZ_ChiLLL - 11.05.2010

No there's no error and anything but
I just teleports me to another place.

No need for codes I believe, but here it is.
pawn Код:
case 3: // Yes I'm using a dialog
{
SetPlayerPos(playerid, 3462, -2066, 8);
}
Just as simple as that, but it teleports me to another place

PS. Thats the coordinates I got from MTA when I was mapping.
The objects are there, it's just, it teleports me far away from my
map. That's also the coordinates I got from my admin script
/getinfo


Re: I don't get it :( - Faith - 11.05.2010

i think you need to do return 1; after setplayerpos.



This is from samp wiki..

public OnPlayerCommandText(playerid,cmdtext[])
{
if(!strcmp(cmdtext,"/middle",true))
{
SetPlayerPos(playerid,0.0,0.0,6.0);
return 1;
}
return 0;
}


Re: I don't get it :( - ViruZZzZ_ChiLLL - 11.05.2010

I'm using a dialog
and my format with this
works perfectly fine with
other "Cases"


Re: I don't get it :( - Torran - 11.05.2010

Where exactly do you get teleported? after you get teleported to your map?


Re: I don't get it :( - Cedimedi - 11.05.2010

is it in an interior? Use /save, thats maybe better for you.


Re: I don't get it :( - ViruZZzZ_ChiLLL - 11.05.2010

Quote:
Originally Posted by Joe Torran C
Where exactly do you get teleported? after you get teleported to your map?
Uhmmm... w8, it suppose to tele me near the beach, not the verona beach,
the other beach.
Then, I get teleported to, somewhere near the Mountainous Highway going
to SF. (wait I will screen it.)

Quote:
Originally Posted by (ed!med!
is it in an interior? Use /save, thats maybe better for you.
No its not an interior


Re: I don't get it :( - Cedimedi - 11.05.2010

If you have the right x y z it cant teleport you somewhere else. maybe its mixed up?


Re: I don't get it :( - Faith - 11.05.2010

Are you sure its the right cordinate?
When i enter MTA, and go to that location i end up in the sea.