Ищу скрипт

Pous444

Участник
Автор темы
95
1
Ищу скрипт на спавн трамплина как в ультрафаке
 
Решение
Код:
function main()
    while true do wait(0)
        if isKeyJustPressed(75) and isCharInAnyCar(PLAYER_PED) and not sampIsCursorActive() then -- VK_K
            lua_thread.create(function() -- ultrafuck
                local car = storeCarCharIsInNoSave(PLAYER_PED)
                local q1, q2, q3 = getOffsetFromCarInWorldCoords(car, 0, 14.5, -1.3)
                local obj = createObject(1634, q1, q2, q3)
                
                setObjectHeading(obj, getCarHeading(car))
                wait(3500)
                deleteObject(obj)
            end)
        end
    end
end

активация на K

kinamaster22

Известный
1,326
200
Код:
function main()
    while true do wait(0)
        if isKeyJustPressed(75) and isCharInAnyCar(PLAYER_PED) and not sampIsCursorActive() then -- VK_K
            lua_thread.create(function() -- ultrafuck
                local car = storeCarCharIsInNoSave(PLAYER_PED)
                local q1, q2, q3 = getOffsetFromCarInWorldCoords(car, 0, 14.5, -1.3)
                local obj = createObject(1634, q1, q2, q3)
                
                setObjectHeading(obj, getCarHeading(car))
                wait(3500)
                deleteObject(obj)
            end)
        end
    end
end

активация на K
 

Pous444

Участник
Автор темы
95
1
Код:
function main()
    while true do wait(0)
        if isKeyJustPressed(75) and isCharInAnyCar(PLAYER_PED) and not sampIsCursorActive() then -- VK_K
            lua_thread.create(function() -- ultrafuck
                local car = storeCarCharIsInNoSave(PLAYER_PED)
                local q1, q2, q3 = getOffsetFromCarInWorldCoords(car, 0, 14.5, -1.3)
                local obj = createObject(1634, q1, q2, q3)
               
                setObjectHeading(obj, getCarHeading(car))
                wait(3500)
                deleteObject(obj)
            end)
        end
    end
end

активация на K
Это в луа запихнуть или как? сори не шарю