require "lib.moonloader"
local sampev = require 'lib.samp.events'
function sampev.onSetPlayerAttachedObject(playerId, index, create, object)
if wasKeyPressed(VK_J) and playerId == select(2, sampGetPlayerIdByCharHandle(PLAYER_PED)) then return false end
end