Buton ekleyip komutları ekleyip Işınlanma yapabilirsin
---------------------------
-- Teleport
---------------------------
function isinla(oyuncu, x,y,z)
local arac = getPedOccupiedVehicle(oyuncu)
if arac and getPedOccupiedVehicleSeat(oyuncu) == 0 then
setElementPosition(arac, x,y,z)
else
setElementPosition(oyuncu, x,y,z)
end
end
function isim()
isinla(g_Me,1968.694091, -2306.275146, 3113.86010)
end
wndTeleport = {
'wnd',
text = 'Server Name',
width = 280,
x = 220,
y = 110,
controls = {
{'btn', id='İsim', onclick=isim, width = 120,x = 10,height = 20},
},
}
---------------------------
---------------------------
{'btn', id='teleport', width = 70, window=wndTeleport, text='Tracks '},