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