Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: tp_auto
1. Tp_auto
Witam mam o to kod :
Kod:


addCommandHandler("warp",function(plr,cmd,id)
if id then
id=tonumber(id)
local veh=getVehicle(id)
if veh then
local x,y,z=getElementPosition(plr)
local int=getElementInterior(plr)
local dim=getElementDimension(plr)
setElementPosition(veh,x,y,z)
setElementPosition(plr,x,y,z+2)
setElementDimension(veh,dim)
setElementInterior(veh,int)
outputChatBox("Przenios?e? do Siebie "..getVehicleName(veh).." ( ID : "..getElementData(veh,"car_id").." )",plr,255,255,255)
end
end

end)

I on dzia?a ale jak zrobi? ?eby nie tepa?o auta do mnie tylko jak tepnie auto to ?ebym odrazu w nim siedzia? ?