[Ajuda] Teleport com Reboque - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Teleport com Reboque (
/showthread.php?tid=507102)
Teleport com Reboque -
oakley - 16.04.2014
Alguem pode me ajudar criar um comando para Teleportar Caminhao + Trailer?
Tentei usa:
GetVehicleTrailer e outro porem a carga some quando teleporta...
Re: Teleport com Reboque -
Delete_ - 16.04.2014
https://sampwiki.blast.hk/wiki/AttachTrailerToVehicle
https://sampwiki.blast.hk/wiki/DetachTrailerFromVehicle
https://sampwiki.blast.hk/wiki/IsTrailerAttachedToVehicle
Re: Teleport com Reboque -
oakley - 16.04.2014
Код:
if(IsPlayerInAnyVehicle(playerid)){
new currentveh = GetPlayerVehicleID(playerid);
new trailercheck = GetVehicleTrailer(currentveh);
DetachTrailerFromVehicle(currentveh);
SetVehiclePos(trailercheck, 6774.9, -1945.2001953125, 15.199999809265);
SetVehiclePos(currentveh, 6778.9,-1950.5, 15.199999809265);
SetVehicleZAngle(currentveh, 215.9);
SetVehicleZAngle(trailercheck, 215.9);
AttachTrailerToVehicle(trailercheck, currentveh);
Porem a carga some
Re: Teleport com Reboque -
oakley - 16.04.2014
Alguem Ajuda?
Re: Teleport com Reboque -
oakley - 18.04.2014
Alguйm??