завершается скрипт

ScottCheater

Новичок
Автор темы
4
1
Версия MoonLoader
.026-beta
Привет. Раньше не лез в разработку на lua, но сегодня остро потребовалось написать крипт для телепорта по точкам с задержкой в 0.8 сек, поэтому строго не судите, впервые работаю с этим языком.


код:
require 'lib.vkeys'
function main()
    while not isSampAvailable() do wait(0) end
    if isKeyJustPressed(VK_4) and not sampIsChatInputActive() and not sampIsDialogActive() and not isPauseMenuActive() and not isSampfuncsConsoleActive() then

        setCharCoordinates(PLAYER_PED, 1013.3723, -1627.218, 43.0436)
        wait(800)
        setCharCoordinates(PLAYER_PED, 968.2939, -1589.8623, 40.6679)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1049.4836, -1498.2319, 39.8565)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1070.2572, -1626.1534, 39.0552)
        wait(800)
        setCharCoordinates(PLAYER_PED, 972.0224, -1600.2905, 40.7207)
        wait(800)
        setCharCoordinates(PLAYER_PED, 971.0995, -1552.0247, 42.9974)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1039.8345, -1562.71, 42.0695)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.6571, -1614.222, 46.7892)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1054.0134, -19605.4868, 39.6835)
        wait(800)
        setCharCoordinates(PLAYER_PED, 959.8195, -1578.8711, 40.2791)
        wait(800)
        setCharCoordinates(PLAYER_PED, 977.0855, -1567.6987, 44.7845)
        wait(800)
        setCharCoordinates(PLAYER_PED, 967.2654, -1565.2051, 40.1999)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1007.472, -1643.8732, 40.7879)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1002.9727, -1572.5625, 43.5269)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1004.2567, -1595.2853, 40.3417)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1016.9865, -1497.0132, 39.5996)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.4313, -1580.0198, 43.1965)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1012.8303, -1529.0876, 39.6697)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1045.7712, -1536.5555, 42.4047)
        wait(800)
        setCharCoordinates(PLAYER_PED, 999.8335, -1631.9478, 40.7406)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1033.3955, -1530.1747, 39.5464)
        wait(800)
        setCharCoordinates(PLAYER_PED, 993.4799, -1576.2223, 40.4328)
        wait(800)
        setCharCoordinates(PLAYER_PED, 999.6973, -1510.9559, 39.2782)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1025.7268, -1572.993, 39.5777)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1009.4612, -1555.9109, 39.9372)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.3666, -1512.7859, 38.9541)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1022.7631, -1619.8114, 43.4246)
        wait(800)
        setCharCoordinates(PLAYER_PED, 979.869, -1631.4923, 40.8246)
        wait(800)
        setCharCoordinates(PLAYER_PED, 988.8759, -1619.8175, 47.9138)
        wait(800)
        setCharCoordinates(PLAYER_PED, 968.787, -1575.1124, 40.4147)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1051.4075, -1530.9238, 42.663)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1030.9447, -1492.6658, 40.4035)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1037.6663, -1516.1077, 46.3129)
        wait(800)
        setCharCoordinates(PLAYER_PED, 992.4428, -1539.2546, 42.8834)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.1952, -1621.097, 47.7821)
        wait(800)
        setCharCoordinates(PLAYER_PED, 958.9617, -1558.2646, 39.8422)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1009.499, -1502.0016, 39.1223)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1049.3993, -1605.1897, 42.1206)
        wait(800)
        setCharCoordinates(PLAYER_PED, 991.5828, -1547.6567, 45.9798)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1046.4805, -1592.951, 39.3737)
        wait(800)
        setCharCoordinates(PLAYER_PED, 997.5055, -1537.7175, 40.0037)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1001.7103, -1567.8411, 43.4395)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1011.0864, -1563.5194, 43.6225)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1051.7543, -1540.1603, 39.4463)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1048.1244, -1583.5793, 42.5421)
        wait(800)
        setCharCoordinates(PLAYER_PED, 989.3378, -1519.4415, 40.207)
        wait(800)
        setCharCoordinates(PLAYER_PED, 989.1219, -1519.6274, 40.2131)
        wait(800)
        setCharCoordinates(PLAYER_PED, 987.3886, -1542.7433, 42.8205)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1019.8171, -1563.1049, 39.766)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1051.5787, -1598.4702, 42.4189)
        wait(800)
        setCharCoordinates(PLAYER_PED, 980.0795, -1614.7781, 40.6973)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1034.9962, -1519.5455, 46.4201)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1030.3613, -1614.1272, 39.6846)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1037.7312, -1577.8698, 39.6005)
        wait(800)
        setCharCoordinates(PLAYER_PED, 988.2701, -1557.767, 40.3047)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1016.8527, -1588.4268, 39.7132)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1022.3918, -1587.3149, 39.8893)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1061.009, -1534.9148, 39.5278)
        wait(800)
        setCharCoordinates(PLAYER_PED, 965.2219, -1559.0643, 43.2043)
        wait(800)
        setCharCoordinates(PLAYER_PED, 975.4958, -1575.4025, 44.3244)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1030.5341, -1582.3368, 39.6308)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1048.6765, -1599.2252, 42.3318)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1010.9828, -1570.6777, 42.5269)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1053.887, -1559.5317, 39.6837)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1054.7396, -1603.3763, 45.1354)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1029.0403, -1540.5514, 39.6915)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1047.7787, -1513.2068, 39.657)
        wait(800)
        setCharCoordinates(PLAYER_PED, 974.3191, -1544.8898, 39.2416)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.5318, -1505.8093, 39.3961)
        wait(800)
        setCharCoordinates(PLAYER_PED, 998.2997, -1586.0221, 40.3877)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1067.1544, -1630.7605, 39.4139)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1029.9623, -1621.5646, 39.8431)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.2825, -1610.5986, 39.9632)
        wait(800)
        setCharCoordinates(PLAYER_PED, 997.355, -1570.2292, 43.6246)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1031.0071, -1557.3411, 41.945)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1036.8119, -1565.5103, 42.1302)
        wait(800)
        setCharCoordinates(PLAYER_PED, 974.6442, -1538.0601, 39.3429)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1023.79, -1637.885, 40.5848)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1006.2818, -1619.9528, 40.4273)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1033.2094, -1641.1611, 40.397)
        wait(800)
        setCharCoordinates(PLAYER_PED, 981.581, -1625.4614, 40.8144)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.9526, -1525.1147, 40.1067)
        wait(800)
        setCharCoordinates(PLAYER_PED, 952.1982, -1549.4775, 39.7848)
        wait(800)
        setCharCoordinates(PLAYER_PED, 952.1982, -1549.4775, 39.7848)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1036.5966, -1588.7078, 39.6906)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1019.2537, -1602.2709, 39.8841)
        wait(800)
        setCharCoordinates(PLAYER_PED, 977.8057, -1557.2695, 40.1931)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1052.4292, -1587.5088, 42.8333)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1021.7408, -1566.571, 39.7063)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1043.9594, -1493.9108, 39.8605)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1049.4409, -1520.0779, 39.6094)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1047.8672, -1574.8307, 39.4632)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1005.6345, -1534.3062, 39.9242)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1010.497, -1577.251, 43.5107)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1009.7413, -1608.1587, 40.1897)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1034.7457, -1600.9363, 39.63)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1065.8691, -1604.7229, 38.8079)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.4185, -1580.0253, 43.1977)
        wait(800)
        setCharCoordinates(PLAYER_PED, 988.3647, -1532.0493, 39.9409)
        wait(800)
        setCharCoordinates(PLAYER_PED, 982.2265, -1525.1765, 40.2088)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1017.5245, -1574.7766, 43.4288)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.879, -1565.6971, 39.5417)
        wait(800)
        setCharCoordinates(PLAYER_PED, 981.5077, -1583.1827, 43.8755)
        wait(800)
        setCharCoordinates(PLAYER_PED, 949.9474, -1557.2815, 39.5616)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1038.2892, -1535.7783, 39.6577)
        wait(800)
        setCharCoordinates(PLAYER_PED, 983.7878, -1589.709, 44.0063)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1008.2804, -1637.2924, 40.7829)
        wait(800)
        setCharCoordinates(PLAYER_PED, 953.7312, -1570.3145, 39.8308)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1005.2834, -1516.1671, 39.2386)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1023.6199, -1535.5889, 39.6703)
        wait(800)
        setCharCoordinates(PLAYER_PED, 989.6918, -1614.1323, 47.1209)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.0707, -1544.0055, 39.711)
        wait(800)
        setCharCoordinates(PLAYER_PED, 996.7852, -1563.7628, 40.3168)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1035.8092, -1559.6384, 41.903)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1008.9299, -1583.6261, 39.7487)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1028.5438, -1601.4269, 39.7166)
        wait(800)
        setCharCoordinates(PLAYER_PED, 981.5604, -1599.8075, 40.6023)
        wait(800)
        setCharCoordinates(PLAYER_PED, 993.0107, -1638.814, 40.812)
        wait(800)
        setCharCoordinates(PLAYER_PED, 983.9758, -1547.5118, 39.415)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.6598, -1609.5571, 47.1616)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1042.5155, -1616.3644, 39.3822)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.3715, -1631.3732, 43.8495)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1024.6879, -1636.7473, 40.5408)

    end

end



после нажатия на "4" скрипт завершает работу:
[02:08:09.757805] (system) kladtp.lua: Script terminated. (86E8FA94)


помогите пожалуйста
 
Решение
Lua:
local vkeys = require 'vkeys'

function main()
  while not isSampAvailable() do wait(0) end

  while true do wait(0)
    if wasKeyPressed(vkeys.VK_4) and not sampIsChatInputActive() and not sampIsDialogActive() and not isPauseMenuActive() and not isSampfuncsConsoleActive() then
      setCharCoordinates(PLAYER_PED, 1013.3723, -1627.218, 43.0436)
      wait(800)
      setCharCoordinates(PLAYER_PED, 968.2939, -1589.8623, 40.6679)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1049.4836, -1498.2319, 39.8565)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1070.2572, -1626.1534, 39.0552)
      wait(800)
      setCharCoordinates(PLAYER_PED, 972.0224, -1600.2905, 40.7207)
      wait(800)
      setCharCoordinates(PLAYER_PED...

NikkiReuz

Участник
54
4
Вот код:
lua:
require 'lib.vkeys'
function main()
    while not isSampAvailable() do wait(0) end
    if isKeyJustPressed(VK_4) and not sampIsChatInputActive() and not sampIsDialogActive() and not isPauseMenuActive() and not isSampfuncsConsoleActive() then

        setCharCoordinates(PLAYER_PED, 1013.3723, -1627.218, 43.0436)
        wait(800)
        setCharCoordinates(PLAYER_PED, 968.2939, -1589.8623, 40.6679)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1049.4836, -1498.2319, 39.8565)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1070.2572, -1626.1534, 39.0552)
        wait(800)
        setCharCoordinates(PLAYER_PED, 972.0224, -1600.2905, 40.7207)
        wait(800)
        setCharCoordinates(PLAYER_PED, 971.0995, -1552.0247, 42.9974)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1039.8345, -1562.71, 42.0695)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.6571, -1614.222, 46.7892)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1054.0134, -19605.4868, 39.6835)
        wait(800)
        setCharCoordinates(PLAYER_PED, 959.8195, -1578.8711, 40.2791)
        wait(800)
        setCharCoordinates(PLAYER_PED, 977.0855, -1567.6987, 44.7845)
        wait(800)
        setCharCoordinates(PLAYER_PED, 967.2654, -1565.2051, 40.1999)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1007.472, -1643.8732, 40.7879)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1002.9727, -1572.5625, 43.5269)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1004.2567, -1595.2853, 40.3417)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1016.9865, -1497.0132, 39.5996)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.4313, -1580.0198, 43.1965)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1012.8303, -1529.0876, 39.6697)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1045.7712, -1536.5555, 42.4047)
        wait(800)
        setCharCoordinates(PLAYER_PED, 999.8335, -1631.9478, 40.7406)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1033.3955, -1530.1747, 39.5464)
        wait(800)
        setCharCoordinates(PLAYER_PED, 993.4799, -1576.2223, 40.4328)
        wait(800)
        setCharCoordinates(PLAYER_PED, 999.6973, -1510.9559, 39.2782)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1025.7268, -1572.993, 39.5777)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1009.4612, -1555.9109, 39.9372)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.3666, -1512.7859, 38.9541)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1022.7631, -1619.8114, 43.4246)
        wait(800)
        setCharCoordinates(PLAYER_PED, 979.869, -1631.4923, 40.8246)
        wait(800)
        setCharCoordinates(PLAYER_PED, 988.8759, -1619.8175, 47.9138)
        wait(800)
        setCharCoordinates(PLAYER_PED, 968.787, -1575.1124, 40.4147)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1051.4075, -1530.9238, 42.663)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1030.9447, -1492.6658, 40.4035)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1037.6663, -1516.1077, 46.3129)
        wait(800)
        setCharCoordinates(PLAYER_PED, 992.4428, -1539.2546, 42.8834)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.1952, -1621.097, 47.7821)
        wait(800)
        setCharCoordinates(PLAYER_PED, 958.9617, -1558.2646, 39.8422)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1009.499, -1502.0016, 39.1223)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1049.3993, -1605.1897, 42.1206)
        wait(800)
        setCharCoordinates(PLAYER_PED, 991.5828, -1547.6567, 45.9798)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1046.4805, -1592.951, 39.3737)
        wait(800)
        setCharCoordinates(PLAYER_PED, 997.5055, -1537.7175, 40.0037)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1001.7103, -1567.8411, 43.4395)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1011.0864, -1563.5194, 43.6225)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1051.7543, -1540.1603, 39.4463)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1048.1244, -1583.5793, 42.5421)
        wait(800)
        setCharCoordinates(PLAYER_PED, 989.3378, -1519.4415, 40.207)
        wait(800)
        setCharCoordinates(PLAYER_PED, 989.1219, -1519.6274, 40.2131)
        wait(800)
        setCharCoordinates(PLAYER_PED, 987.3886, -1542.7433, 42.8205)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1019.8171, -1563.1049, 39.766)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1051.5787, -1598.4702, 42.4189)
        wait(800)
        setCharCoordinates(PLAYER_PED, 980.0795, -1614.7781, 40.6973)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1034.9962, -1519.5455, 46.4201)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1030.3613, -1614.1272, 39.6846)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1037.7312, -1577.8698, 39.6005)
        wait(800)
        setCharCoordinates(PLAYER_PED, 988.2701, -1557.767, 40.3047)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1016.8527, -1588.4268, 39.7132)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1022.3918, -1587.3149, 39.8893)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1061.009, -1534.9148, 39.5278)
        wait(800)
        setCharCoordinates(PLAYER_PED, 965.2219, -1559.0643, 43.2043)
        wait(800)
        setCharCoordinates(PLAYER_PED, 975.4958, -1575.4025, 44.3244)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1030.5341, -1582.3368, 39.6308)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1048.6765, -1599.2252, 42.3318)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1010.9828, -1570.6777, 42.5269)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1053.887, -1559.5317, 39.6837)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1054.7396, -1603.3763, 45.1354)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1029.0403, -1540.5514, 39.6915)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1047.7787, -1513.2068, 39.657)
        wait(800)
        setCharCoordinates(PLAYER_PED, 974.3191, -1544.8898, 39.2416)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.5318, -1505.8093, 39.3961)
        wait(800)
        setCharCoordinates(PLAYER_PED, 998.2997, -1586.0221, 40.3877)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1067.1544, -1630.7605, 39.4139)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1029.9623, -1621.5646, 39.8431)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.2825, -1610.5986, 39.9632)
        wait(800)
        setCharCoordinates(PLAYER_PED, 997.355, -1570.2292, 43.6246)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1031.0071, -1557.3411, 41.945)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1036.8119, -1565.5103, 42.1302)
        wait(800)
        setCharCoordinates(PLAYER_PED, 974.6442, -1538.0601, 39.3429)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1023.79, -1637.885, 40.5848)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1006.2818, -1619.9528, 40.4273)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1033.2094, -1641.1611, 40.397)
        wait(800)
        setCharCoordinates(PLAYER_PED, 981.581, -1625.4614, 40.8144)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.9526, -1525.1147, 40.1067)
        wait(800)
        setCharCoordinates(PLAYER_PED, 952.1982, -1549.4775, 39.7848)
        wait(800)
        setCharCoordinates(PLAYER_PED, 952.1982, -1549.4775, 39.7848)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1036.5966, -1588.7078, 39.6906)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1019.2537, -1602.2709, 39.8841)
        wait(800)
        setCharCoordinates(PLAYER_PED, 977.8057, -1557.2695, 40.1931)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1052.4292, -1587.5088, 42.8333)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1021.7408, -1566.571, 39.7063)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1043.9594, -1493.9108, 39.8605)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1049.4409, -1520.0779, 39.6094)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1047.8672, -1574.8307, 39.4632)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1005.6345, -1534.3062, 39.9242)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1010.497, -1577.251, 43.5107)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1009.7413, -1608.1587, 40.1897)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1034.7457, -1600.9363, 39.63)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1065.8691, -1604.7229, 38.8079)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.4185, -1580.0253, 43.1977)
        wait(800)
        setCharCoordinates(PLAYER_PED, 988.3647, -1532.0493, 39.9409)
        wait(800)
        setCharCoordinates(PLAYER_PED, 982.2265, -1525.1765, 40.2088)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1017.5245, -1574.7766, 43.4288)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.879, -1565.6971, 39.5417)
        wait(800)
        setCharCoordinates(PLAYER_PED, 981.5077, -1583.1827, 43.8755)
        wait(800)
        setCharCoordinates(PLAYER_PED, 949.9474, -1557.2815, 39.5616)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1038.2892, -1535.7783, 39.6577)
        wait(800)
        setCharCoordinates(PLAYER_PED, 983.7878, -1589.709, 44.0063)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1008.2804, -1637.2924, 40.7829)
        wait(800)
        setCharCoordinates(PLAYER_PED, 953.7312, -1570.3145, 39.8308)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1005.2834, -1516.1671, 39.2386)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1023.6199, -1535.5889, 39.6703)
        wait(800)
        setCharCoordinates(PLAYER_PED, 989.6918, -1614.1323, 47.1209)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.0707, -1544.0055, 39.711)
        wait(800)
        setCharCoordinates(PLAYER_PED, 996.7852, -1563.7628, 40.3168)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1035.8092, -1559.6384, 41.903)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1008.9299, -1583.6261, 39.7487)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1028.5438, -1601.4269, 39.7166)
        wait(800)
        setCharCoordinates(PLAYER_PED, 981.5604, -1599.8075, 40.6023)
        wait(800)
        setCharCoordinates(PLAYER_PED, 993.0107, -1638.814, 40.812)
        wait(800)
        setCharCoordinates(PLAYER_PED, 983.9758, -1547.5118, 39.415)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.6598, -1609.5571, 47.1616)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1042.5155, -1616.3644, 39.3822)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.3715, -1631.3732, 43.8495)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1024.6879, -1636.7473, 40.5408)

    end
  wait(-1)
end
 
  • Эм
Реакции: YarikVL

YarikVL

Известный
Проверенный
4,767
1,819
Вот код:
lua:
require 'lib.vkeys'
function main()
    while not isSampAvailable() do wait(0) end
    if isKeyJustPressed(VK_4) and not sampIsChatInputActive() and not sampIsDialogActive() and not isPauseMenuActive() and not isSampfuncsConsoleActive() then

        setCharCoordinates(PLAYER_PED, 1013.3723, -1627.218, 43.0436)
        wait(800)
        setCharCoordinates(PLAYER_PED, 968.2939, -1589.8623, 40.6679)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1049.4836, -1498.2319, 39.8565)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1070.2572, -1626.1534, 39.0552)
        wait(800)
        setCharCoordinates(PLAYER_PED, 972.0224, -1600.2905, 40.7207)
        wait(800)
        setCharCoordinates(PLAYER_PED, 971.0995, -1552.0247, 42.9974)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1039.8345, -1562.71, 42.0695)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.6571, -1614.222, 46.7892)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1054.0134, -19605.4868, 39.6835)
        wait(800)
        setCharCoordinates(PLAYER_PED, 959.8195, -1578.8711, 40.2791)
        wait(800)
        setCharCoordinates(PLAYER_PED, 977.0855, -1567.6987, 44.7845)
        wait(800)
        setCharCoordinates(PLAYER_PED, 967.2654, -1565.2051, 40.1999)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1007.472, -1643.8732, 40.7879)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1002.9727, -1572.5625, 43.5269)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1004.2567, -1595.2853, 40.3417)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1016.9865, -1497.0132, 39.5996)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.4313, -1580.0198, 43.1965)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1012.8303, -1529.0876, 39.6697)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1045.7712, -1536.5555, 42.4047)
        wait(800)
        setCharCoordinates(PLAYER_PED, 999.8335, -1631.9478, 40.7406)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1033.3955, -1530.1747, 39.5464)
        wait(800)
        setCharCoordinates(PLAYER_PED, 993.4799, -1576.2223, 40.4328)
        wait(800)
        setCharCoordinates(PLAYER_PED, 999.6973, -1510.9559, 39.2782)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1025.7268, -1572.993, 39.5777)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1009.4612, -1555.9109, 39.9372)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.3666, -1512.7859, 38.9541)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1022.7631, -1619.8114, 43.4246)
        wait(800)
        setCharCoordinates(PLAYER_PED, 979.869, -1631.4923, 40.8246)
        wait(800)
        setCharCoordinates(PLAYER_PED, 988.8759, -1619.8175, 47.9138)
        wait(800)
        setCharCoordinates(PLAYER_PED, 968.787, -1575.1124, 40.4147)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1051.4075, -1530.9238, 42.663)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1030.9447, -1492.6658, 40.4035)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1037.6663, -1516.1077, 46.3129)
        wait(800)
        setCharCoordinates(PLAYER_PED, 992.4428, -1539.2546, 42.8834)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.1952, -1621.097, 47.7821)
        wait(800)
        setCharCoordinates(PLAYER_PED, 958.9617, -1558.2646, 39.8422)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1009.499, -1502.0016, 39.1223)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1049.3993, -1605.1897, 42.1206)
        wait(800)
        setCharCoordinates(PLAYER_PED, 991.5828, -1547.6567, 45.9798)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1046.4805, -1592.951, 39.3737)
        wait(800)
        setCharCoordinates(PLAYER_PED, 997.5055, -1537.7175, 40.0037)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1001.7103, -1567.8411, 43.4395)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1011.0864, -1563.5194, 43.6225)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1051.7543, -1540.1603, 39.4463)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1048.1244, -1583.5793, 42.5421)
        wait(800)
        setCharCoordinates(PLAYER_PED, 989.3378, -1519.4415, 40.207)
        wait(800)
        setCharCoordinates(PLAYER_PED, 989.1219, -1519.6274, 40.2131)
        wait(800)
        setCharCoordinates(PLAYER_PED, 987.3886, -1542.7433, 42.8205)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1019.8171, -1563.1049, 39.766)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1051.5787, -1598.4702, 42.4189)
        wait(800)
        setCharCoordinates(PLAYER_PED, 980.0795, -1614.7781, 40.6973)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1034.9962, -1519.5455, 46.4201)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1030.3613, -1614.1272, 39.6846)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1037.7312, -1577.8698, 39.6005)
        wait(800)
        setCharCoordinates(PLAYER_PED, 988.2701, -1557.767, 40.3047)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1016.8527, -1588.4268, 39.7132)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1022.3918, -1587.3149, 39.8893)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1061.009, -1534.9148, 39.5278)
        wait(800)
        setCharCoordinates(PLAYER_PED, 965.2219, -1559.0643, 43.2043)
        wait(800)
        setCharCoordinates(PLAYER_PED, 975.4958, -1575.4025, 44.3244)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1030.5341, -1582.3368, 39.6308)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1048.6765, -1599.2252, 42.3318)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1010.9828, -1570.6777, 42.5269)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1053.887, -1559.5317, 39.6837)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1054.7396, -1603.3763, 45.1354)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1029.0403, -1540.5514, 39.6915)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1047.7787, -1513.2068, 39.657)
        wait(800)
        setCharCoordinates(PLAYER_PED, 974.3191, -1544.8898, 39.2416)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.5318, -1505.8093, 39.3961)
        wait(800)
        setCharCoordinates(PLAYER_PED, 998.2997, -1586.0221, 40.3877)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1067.1544, -1630.7605, 39.4139)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1029.9623, -1621.5646, 39.8431)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.2825, -1610.5986, 39.9632)
        wait(800)
        setCharCoordinates(PLAYER_PED, 997.355, -1570.2292, 43.6246)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1031.0071, -1557.3411, 41.945)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1036.8119, -1565.5103, 42.1302)
        wait(800)
        setCharCoordinates(PLAYER_PED, 974.6442, -1538.0601, 39.3429)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1023.79, -1637.885, 40.5848)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1006.2818, -1619.9528, 40.4273)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1033.2094, -1641.1611, 40.397)
        wait(800)
        setCharCoordinates(PLAYER_PED, 981.581, -1625.4614, 40.8144)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.9526, -1525.1147, 40.1067)
        wait(800)
        setCharCoordinates(PLAYER_PED, 952.1982, -1549.4775, 39.7848)
        wait(800)
        setCharCoordinates(PLAYER_PED, 952.1982, -1549.4775, 39.7848)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1036.5966, -1588.7078, 39.6906)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1019.2537, -1602.2709, 39.8841)
        wait(800)
        setCharCoordinates(PLAYER_PED, 977.8057, -1557.2695, 40.1931)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1052.4292, -1587.5088, 42.8333)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1021.7408, -1566.571, 39.7063)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1043.9594, -1493.9108, 39.8605)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1049.4409, -1520.0779, 39.6094)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1047.8672, -1574.8307, 39.4632)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1005.6345, -1534.3062, 39.9242)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1010.497, -1577.251, 43.5107)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1009.7413, -1608.1587, 40.1897)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1034.7457, -1600.9363, 39.63)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1065.8691, -1604.7229, 38.8079)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.4185, -1580.0253, 43.1977)
        wait(800)
        setCharCoordinates(PLAYER_PED, 988.3647, -1532.0493, 39.9409)
        wait(800)
        setCharCoordinates(PLAYER_PED, 982.2265, -1525.1765, 40.2088)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1017.5245, -1574.7766, 43.4288)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.879, -1565.6971, 39.5417)
        wait(800)
        setCharCoordinates(PLAYER_PED, 981.5077, -1583.1827, 43.8755)
        wait(800)
        setCharCoordinates(PLAYER_PED, 949.9474, -1557.2815, 39.5616)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1038.2892, -1535.7783, 39.6577)
        wait(800)
        setCharCoordinates(PLAYER_PED, 983.7878, -1589.709, 44.0063)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1008.2804, -1637.2924, 40.7829)
        wait(800)
        setCharCoordinates(PLAYER_PED, 953.7312, -1570.3145, 39.8308)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1005.2834, -1516.1671, 39.2386)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1023.6199, -1535.5889, 39.6703)
        wait(800)
        setCharCoordinates(PLAYER_PED, 989.6918, -1614.1323, 47.1209)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1044.0707, -1544.0055, 39.711)
        wait(800)
        setCharCoordinates(PLAYER_PED, 996.7852, -1563.7628, 40.3168)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1035.8092, -1559.6384, 41.903)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1008.9299, -1583.6261, 39.7487)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1028.5438, -1601.4269, 39.7166)
        wait(800)
        setCharCoordinates(PLAYER_PED, 981.5604, -1599.8075, 40.6023)
        wait(800)
        setCharCoordinates(PLAYER_PED, 993.0107, -1638.814, 40.812)
        wait(800)
        setCharCoordinates(PLAYER_PED, 983.9758, -1547.5118, 39.415)
        wait(800)
        setCharCoordinates(PLAYER_PED, 994.6598, -1609.5571, 47.1616)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1042.5155, -1616.3644, 39.3822)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1020.3715, -1631.3732, 43.8495)
        wait(800)
        setCharCoordinates(PLAYER_PED, 1024.6879, -1636.7473, 40.5408)

    end
  wait(-1)
end
Не будет работать. Засунь проверку условия в бесконечный цикл ( как сказали выше ) и убери библиотеку vkeys и пропиши в самом начпле скрипта require "lib.moonloader"
 

zTechnology

Известный
1,101
486
убери библиотеку vkeys и пропиши в самом начпле скрипта require "lib.moonloader"
Разницы если честно нет, ну ладно
Не будет работать. Засунь проверку условия в бесконечный цикл ( как сказали выше )
На счёт этого - да, нужно в луп этот код сувать
 
  • Нравится
Реакции: YarikVL

wojciech?

Известный
Проверенный
341
214
Lua:
local vkeys = require 'vkeys'

function main()
  while not isSampAvailable() do wait(0) end

  while true do wait(0)
    if wasKeyPressed(vkeys.VK_4) and not sampIsChatInputActive() and not sampIsDialogActive() and not isPauseMenuActive() and not isSampfuncsConsoleActive() then
      setCharCoordinates(PLAYER_PED, 1013.3723, -1627.218, 43.0436)
      wait(800)
      setCharCoordinates(PLAYER_PED, 968.2939, -1589.8623, 40.6679)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1049.4836, -1498.2319, 39.8565)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1070.2572, -1626.1534, 39.0552)
      wait(800)
      setCharCoordinates(PLAYER_PED, 972.0224, -1600.2905, 40.7207)
      wait(800)
      setCharCoordinates(PLAYER_PED, 971.0995, -1552.0247, 42.9974)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1039.8345, -1562.71, 42.0695)
      wait(800)
      setCharCoordinates(PLAYER_PED, 994.6571, -1614.222, 46.7892)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1054.0134, -19605.4868, 39.6835)
      wait(800)
      setCharCoordinates(PLAYER_PED, 959.8195, -1578.8711, 40.2791)
      wait(800)
      setCharCoordinates(PLAYER_PED, 977.0855, -1567.6987, 44.7845)
      wait(800)
      setCharCoordinates(PLAYER_PED, 967.2654, -1565.2051, 40.1999)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1007.472, -1643.8732, 40.7879)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1002.9727, -1572.5625, 43.5269)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1004.2567, -1595.2853, 40.3417)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1016.9865, -1497.0132, 39.5996)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1044.4313, -1580.0198, 43.1965)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1012.8303, -1529.0876, 39.6697)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1045.7712, -1536.5555, 42.4047)
      wait(800)
      setCharCoordinates(PLAYER_PED, 999.8335, -1631.9478, 40.7406)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1033.3955, -1530.1747, 39.5464)
      wait(800)
      setCharCoordinates(PLAYER_PED, 993.4799, -1576.2223, 40.4328)
      wait(800)
      setCharCoordinates(PLAYER_PED, 999.6973, -1510.9559, 39.2782)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1025.7268, -1572.993, 39.5777)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1009.4612, -1555.9109, 39.9372)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1020.3666, -1512.7859, 38.9541)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1022.7631, -1619.8114, 43.4246)
      wait(800)
      setCharCoordinates(PLAYER_PED, 979.869, -1631.4923, 40.8246)
      wait(800)
      setCharCoordinates(PLAYER_PED, 988.8759, -1619.8175, 47.9138)
      wait(800)
      setCharCoordinates(PLAYER_PED, 968.787, -1575.1124, 40.4147)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1051.4075, -1530.9238, 42.663)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1030.9447, -1492.6658, 40.4035)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1037.6663, -1516.1077, 46.3129)
      wait(800)
      setCharCoordinates(PLAYER_PED, 992.4428, -1539.2546, 42.8834)
      wait(800)
      setCharCoordinates(PLAYER_PED, 994.1952, -1621.097, 47.7821)
      wait(800)
      setCharCoordinates(PLAYER_PED, 958.9617, -1558.2646, 39.8422)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1009.499, -1502.0016, 39.1223)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1049.3993, -1605.1897, 42.1206)
      wait(800)
      setCharCoordinates(PLAYER_PED, 991.5828, -1547.6567, 45.9798)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1046.4805, -1592.951, 39.3737)
      wait(800)
      setCharCoordinates(PLAYER_PED, 997.5055, -1537.7175, 40.0037)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1001.7103, -1567.8411, 43.4395)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1011.0864, -1563.5194, 43.6225)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1051.7543, -1540.1603, 39.4463)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1048.1244, -1583.5793, 42.5421)
      wait(800)
      setCharCoordinates(PLAYER_PED, 989.3378, -1519.4415, 40.207)
      wait(800)
      setCharCoordinates(PLAYER_PED, 989.1219, -1519.6274, 40.2131)
      wait(800)
      setCharCoordinates(PLAYER_PED, 987.3886, -1542.7433, 42.8205)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1019.8171, -1563.1049, 39.766)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1051.5787, -1598.4702, 42.4189)
      wait(800)
      setCharCoordinates(PLAYER_PED, 980.0795, -1614.7781, 40.6973)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1034.9962, -1519.5455, 46.4201)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1030.3613, -1614.1272, 39.6846)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1037.7312, -1577.8698, 39.6005)
      wait(800)
      setCharCoordinates(PLAYER_PED, 988.2701, -1557.767, 40.3047)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1016.8527, -1588.4268, 39.7132)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1022.3918, -1587.3149, 39.8893)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1061.009, -1534.9148, 39.5278)
      wait(800)
      setCharCoordinates(PLAYER_PED, 965.2219, -1559.0643, 43.2043)
      wait(800)
      setCharCoordinates(PLAYER_PED, 975.4958, -1575.4025, 44.3244)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1030.5341, -1582.3368, 39.6308)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1048.6765, -1599.2252, 42.3318)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1010.9828, -1570.6777, 42.5269)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1053.887, -1559.5317, 39.6837)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1054.7396, -1603.3763, 45.1354)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1029.0403, -1540.5514, 39.6915)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1047.7787, -1513.2068, 39.657)
      wait(800)
      setCharCoordinates(PLAYER_PED, 974.3191, -1544.8898, 39.2416)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1020.5318, -1505.8093, 39.3961)
      wait(800)
      setCharCoordinates(PLAYER_PED, 998.2997, -1586.0221, 40.3877)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1067.1544, -1630.7605, 39.4139)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1029.9623, -1621.5646, 39.8431)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1020.2825, -1610.5986, 39.9632)
      wait(800)
      setCharCoordinates(PLAYER_PED, 997.355, -1570.2292, 43.6246)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1031.0071, -1557.3411, 41.945)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1036.8119, -1565.5103, 42.1302)
      wait(800)
      setCharCoordinates(PLAYER_PED, 974.6442, -1538.0601, 39.3429)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1023.79, -1637.885, 40.5848)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1006.2818, -1619.9528, 40.4273)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1033.2094, -1641.1611, 40.397)
      wait(800)
      setCharCoordinates(PLAYER_PED, 981.581, -1625.4614, 40.8144)
      wait(800)
      setCharCoordinates(PLAYER_PED, 994.9526, -1525.1147, 40.1067)
      wait(800)
      setCharCoordinates(PLAYER_PED, 952.1982, -1549.4775, 39.7848)
      wait(800)
      setCharCoordinates(PLAYER_PED, 952.1982, -1549.4775, 39.7848)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1036.5966, -1588.7078, 39.6906)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1019.2537, -1602.2709, 39.8841)
      wait(800)
      setCharCoordinates(PLAYER_PED, 977.8057, -1557.2695, 40.1931)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1052.4292, -1587.5088, 42.8333)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1021.7408, -1566.571, 39.7063)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1043.9594, -1493.9108, 39.8605)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1049.4409, -1520.0779, 39.6094)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1047.8672, -1574.8307, 39.4632)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1005.6345, -1534.3062, 39.9242)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1010.497, -1577.251, 43.5107)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1009.7413, -1608.1587, 40.1897)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1034.7457, -1600.9363, 39.63)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1065.8691, -1604.7229, 38.8079)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1044.4185, -1580.0253, 43.1977)
      wait(800)
      setCharCoordinates(PLAYER_PED, 988.3647, -1532.0493, 39.9409)
      wait(800)
      setCharCoordinates(PLAYER_PED, 982.2265, -1525.1765, 40.2088)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1017.5245, -1574.7766, 43.4288)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1044.879, -1565.6971, 39.5417)
      wait(800)
      setCharCoordinates(PLAYER_PED, 981.5077, -1583.1827, 43.8755)
      wait(800)
      setCharCoordinates(PLAYER_PED, 949.9474, -1557.2815, 39.5616)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1038.2892, -1535.7783, 39.6577)
      wait(800)
      setCharCoordinates(PLAYER_PED, 983.7878, -1589.709, 44.0063)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1008.2804, -1637.2924, 40.7829)
      wait(800)
      setCharCoordinates(PLAYER_PED, 953.7312, -1570.3145, 39.8308)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1005.2834, -1516.1671, 39.2386)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1023.6199, -1535.5889, 39.6703)
      wait(800)
      setCharCoordinates(PLAYER_PED, 989.6918, -1614.1323, 47.1209)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1044.0707, -1544.0055, 39.711)
      wait(800)
      setCharCoordinates(PLAYER_PED, 996.7852, -1563.7628, 40.3168)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1035.8092, -1559.6384, 41.903)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1008.9299, -1583.6261, 39.7487)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1028.5438, -1601.4269, 39.7166)
      wait(800)
      setCharCoordinates(PLAYER_PED, 981.5604, -1599.8075, 40.6023)
      wait(800)
      setCharCoordinates(PLAYER_PED, 993.0107, -1638.814, 40.812)
      wait(800)
      setCharCoordinates(PLAYER_PED, 983.9758, -1547.5118, 39.415)
      wait(800)
      setCharCoordinates(PLAYER_PED, 994.6598, -1609.5571, 47.1616)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1042.5155, -1616.3644, 39.3822)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1020.3715, -1631.3732, 43.8495)
      wait(800)
      setCharCoordinates(PLAYER_PED, 1024.6879, -1636.7473, 40.5408)
    end
  end
end
 
  • Нравится
Реакции: ScottCheater и YarikVL