function forklift.serverAttachBox(player)
local veh = getPedOccupiedVehicle(player)
if isElement(veh) then
if isElement(attachedBox[veh]) then return end
attachedBox[veh] = createObject(boxID, 0, 0, 0)
attachElements(attachedBox[veh], veh, 0, 1.4, -0.05)
end
end
addEvent("serverAttachBox", true)
addEventHandler("serverAttachBox", root, forklift.serverAttachBox)