SA-MP Forums Archive
Teleports - 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: Teleports (/showthread.php?tid=299141)



Teleports - viosteaua98 - 24.11.2011

for teleports need sscanf and plugins?


Re: Teleports - SmiT - 24.11.2011

https://sampwiki.blast.hk/wiki/SetPlayerPos


Re: Teleports - viosteaua98 - 24.11.2011

man my question for teleport need sscanfs or plugins ?
i have for ex this teleport and it doesn't work

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

    if (strcmp("/lva", cmdtext, true, 10) == 0)
    {
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid, 1313.4828,1263.7078,10.8203);
        GameTextForPlayer(playerid,"~g~Las Venturas~r~ Airoport ~p~!!!",4000,6);
        return 1;
    }
And it doesn't work


Re: Teleports - Kostas' - 24.11.2011

No, you don't need sscanf or any other plugin for teleport command.


AW: Teleports - Drebin - 24.11.2011

Do you get any errors/warnings while compiling ?

Actually you only need
pawn Код:
#include <a_samp>
Did you change anything in the a_samp file ?