Выход из тачки

Alphanoop

Новичок
Автор темы
7
0
Версия SA-MP
  1. 0.3.7 (R1)
Видел тут хуйню чтобы можно было выйти из машины полиции закованным ,можно её кинуть?
 
Решение
Держи. При нажатии на "X" ты моментально выйдешь с т/с.
Lua:
script_name('FastExit')
script_author('Bredd Lane')

function main()
    while not isSampAvailable() do wait(100) end
    while true do
        wait(0)
        if wasKeyPressed(0x58) and isCharInAnyCar(playerPed) and not isPauseMenuActive() and not sampIsChatInputActive() and not isSampfuncsConsoleActive() and not sampIsDialogActive() then
            local posX, posY, posZ = getCarCoordinates(storeCarCharIsInNoSave(playerPed))
            warpCharFromCarToCoord(playerPed, posX, posY, posZ)
        end
    end
end

Bredd Lane

Известный
423
350
Держи. При нажатии на "X" ты моментально выйдешь с т/с.
Lua:
script_name('FastExit')
script_author('Bredd Lane')

function main()
    while not isSampAvailable() do wait(100) end
    while true do
        wait(0)
        if wasKeyPressed(0x58) and isCharInAnyCar(playerPed) and not isPauseMenuActive() and not sampIsChatInputActive() and not isSampfuncsConsoleActive() and not sampIsDialogActive() then
            local posX, posY, posZ = getCarCoordinates(storeCarCharIsInNoSave(playerPed))
            warpCharFromCarToCoord(playerPed, posX, posY, posZ)
        end
    end
end
 

Вложения

  • FastExit (на X).lua
    531 байт · Просмотры: 12
  • Нравится
Реакции: HubbaBubbkin