local sampev = require 'samp.events'
function sampev.onSetPlayerAttachedObject(playerId, index, create, object)
if playerId ~= select(2, sampGetPlayerIdByCharHandle(PLAYER_PED)) then return false end
end
function sampev.onCreateObject(id, data)
if data.attachToVehicleId ~= 65535 then return false end
end