SA-MP Forums Archive
Teleport command doesn't work - 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: Teleport command doesn't work (/showthread.php?tid=92132)



Teleport command doesn't work - Sfinx_17 - 18.08.2009

i made a comand to teleport in a place as admin ...but why when i am teleported i see only my player and the sky ?? why ? please i need help


Re: Teleport command doesn't work - MenaceX^ - 18.08.2009

You expect us to reply without seeing it?


Re: Teleport command doesn't work - Eazy_Efolife - 18.08.2009

Can We See Script?


Re: Teleport command doesn't work - _Vortex - 18.08.2009

Im guessing you made the cords to an interior without setting the interior id..

pawn Код:
SetPlayerInterior(playerid,INTERIORID);
(replace INTERIORID with the id of the interior obviously..)


Re: Teleport command doesn't work - XtremeChio - 18.08.2009

Quote:
Originally Posted by [B
Vortex ]
Im guessing you made the cords to an interior without setting the interior id..

pawn Код:
SetPlayerInterior(playerid,INTERIORID);
(replace INTERIORID with the id of the interior obviously..)
Lol you're telling him like you know what's wrong plus sarcasm xD

First show the code then we can help


Re: Teleport command doesn't work - Sfinx_17 - 18.08.2009

i can't show you guys pictures because i don't know how to make a image to be link and for that guy who says about my coordinate is interior ...well i save my position outside not in interior


Re: Teleport command doesn't work - MenaceX^ - 18.08.2009

Just show the command?..


Re: Teleport command doesn't work - Sfinx_17 - 18.08.2009

if (strcmp("/teleportgrua", cmdtext, true, 10) == 0)
{
SetPlayerInterior(playerid,11);
SetPlayerPos(playerid, 2399.2263,1926.4996,76.3745);
return true;


this is my code now can anybody tell my with that tele problem ? please


Re: Teleport command doesn't work - _Vortex - 18.08.2009

You said it wasnt in an interior.. O_o


Re: Teleport command doesn't work - Cezar - 18.08.2009

Quote:
Originally Posted by [B
Vortex ]
You said it wasnt in an interior.. O_o
He did?

@Topic: The interiorid might be wrong, check again. Usually that's when you get only your player and the sky.