tele = { }
tele['yankidex'] = { 2751.8000488281, -1760.4000244141, 43.400001525879 }
tele['lgn'] = { 1773.3000488281, -3001.6999511719, 1.2000000476837 }
tele['askeriye'] = { 1529.3000488281, 99.300003051758, 29.299999237061 }
tele['eyfel'] = { 956.09997558594, 2440.8000488281, 10.5 }
tele['sahil'] = { 306.29998779297, -1844, 3.0999999046326 }
tele['dag'] = { -2236.6999511719, -1741.8000488281, 480.5 }
tele['petrol'] = { -2013, 179, 27.299999237061 }
function teleportMe(player, command, arg1)
if (arg1) then
if (tele[arg1]) then
local veh = getPedOccupiedVehicle(player)
if (veh) then
setElementPosition(veh, tele[arg1][1], tele[arg1][2], tele[arg1][3]+2)
else
setElementPosition(player, tele[arg1][1], tele[arg1][2], tele[arg1][3]+2)
end
outputChatBox("* [Y]ankidex Hava Yollari: İsinlandiginiz base: #ff00ff"..arg1, player, 255, 255, 0, true)
else
outputChatBox("* [Y]ankidex Hava Yollari: Hatali isinlanma komutu yazdiniz.[Ornek : /tele yankidex]", player, 255, 0, 0)
end
else
outputChatBox("* İsinlanma alanlari : /tele yankidex - /tele lgn - /tele askeriye - /tele mafya - /tele eyfel - /tele sahil - /tele dag - /tele petrol ", player, 255, 0, 0)
end
end
addCommandHandler("tele", teleportMe)
important;
else
outputChatBox("* İsinlanma alanlari : /tele yankidex - /tele lgn - /tele askeriye - /tele mafya - /tele eyfel - /tele sahil - /tele dag - /tele petrol ", player, 255, 0, 0)
end
/\
/ \
||
||
||
How can I improve the above section is too long? / translate