SA-MP Forums Archive
how to teleport with vehicles - 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: how to teleport with vehicles (/showthread.php?tid=514179)



how to teleport with vehicles - DIVESHSEET - 20.05.2014

how to teleport with vehicles

when using /teleport


Re: how to teleport with vehicles - JFF - 20.05.2014

Use this

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


Re: how to teleport with vehicles - iAnonymous - 20.05.2014

Use
pawn Код:
SetVehiclePos



Re: how to teleport with vehicles - DIVESHSEET - 20.05.2014

nothing is working


Re: how to teleport with vehicles - JFF - 20.05.2014

pawn Код:
CMD:tele(playerid, params[])
{
     if(GetPlayerState(playerid) == 2)
     {
                SetVehiclePos(GetPlayerVehicleID(playerid), Float:x, Float:y, Float:z);
     }
     else
     {
                SetPlayerPos(playerid, Float:x, Float:t, Float:z);
     }
     return 1;
}



Re: how to teleport with vehicles - Rittik - 20.05.2014

Show us the full code.