SA-MP Forums Archive
/Teleport - 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)
+--- Thread: /Teleport (/showthread.php?tid=442688)



/Teleport - MundoTorrejon - 08.06.2013

Hello, I could tell how to create a command that putting / football take me to be coordinates:

X: 291.5
Y: 41.900001525879
Z: 807.5


Re: /Teleport - Chris10 - 08.06.2013

You can use this
pawn Код:
if (strcmp("/teleport", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, cords);
        return 1;
    }



Respuesta: /Teleport - MundoTorrejon - 08.06.2013

I've tried, and I get error


Re: /Teleport - Chris10 - 08.06.2013

Show me the error that you getting


Re : /Teleport - NvidiaForTheWin - 08.06.2013

he need a copy&past PRO code lol

Код:
if (strcmp("/teleport", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, 291.5, 41.900001525879, 807.5);
        return 1;
    }



Re: /Teleport - DeMoX - 08.06.2013

Код:
SetPlayerPos(playerid, 291.5, 41.900001525879, 807.5);



Re : Re: /Teleport - NvidiaForTheWin - 08.06.2013

Quote:
Originally Posted by DeMoX
Посмотреть сообщение
Код:
SetPlayerPos(playerid, 291.5, 41.900001525879, 807.5);
too late


Re: /Teleport - Chasm - 08.06.2013

Lol, i made this command in my script just to test it, i started to fall from sky. xD


Re: /Teleport - Chris10 - 08.06.2013

Quote:
Originally Posted by Chasm
Посмотреть сообщение
Lol, i made this command in my script just to test it, i started to fall from sky. xD
LOL he might have objects in that coords